module ActiveRecord::Migration::Compatibility::V6_0::TableDefinition

def column(name, type, index: nil, **options)

def column(name, type, index: nil, **options)
  options[:precision] ||= nil
  super
end

def references(*args, **options)

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