Module: ActiveRecord::Migration::Compatibility::V6_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



26
27
28
29
# File 'lib/active_record/migration/compatibility.rb', line 26

def references(*args, **options)
  options[:_uses_legacy_reference_index_name] = true
  super
end