module ActiveRecord::Migration::Compatibility::V4_2::TableDefinition

def references(*, **options)

def references(*, **options)
  options[:index] ||= false
  super
end

def timestamps(**options)

def timestamps(**options)
  options[:null] = true if options[:null].nil?
  super
end