Module: ActiveRecord::Migration::Compatibility::V4_2::TableDefinition
- Defined in:
- lib/active_record/migration/compatibility.rb
Instance Method Summary collapse
- #references(**options) ⇒ Object (also: #belongs_to)
- #timestamps(**options) ⇒ Object
Instance Method Details
#references(**options) ⇒ Object Also known as: belongs_to
312 313 314 315 |
# File 'lib/active_record/migration/compatibility.rb', line 312 def references(*, **) [:index] ||= false super end |
#timestamps(**options) ⇒ Object
318 319 320 321 |
# File 'lib/active_record/migration/compatibility.rb', line 318 def (**) [:null] = true if [:null].nil? super end |