Module: ActiveRecord::Migration::Compatibility::V5_0::TableDefinition

Defined in:
lib/active_record/migration/compatibility.rb

Instance Method Summary collapse

Instance Method Details

#references(*args, **options) ⇒ Object Also known as: belongs_to



18
19
20
# File 'lib/active_record/migration/compatibility.rb', line 18

def references(*args, **options)
  super(*args, type: :integer, **options)
end