class ActiveRecord::Migration::Current

:nodoc:
This must be defined before the inherited hook, below

def change_table(table_name, **options)

def change_table(table_name, **options)
  if block_given?
    super { |t| yield compatible_table_definition(t) }
  else
    super
  end
end

def compatible_table_definition(t)

def compatible_table_definition(t)
  t
end

def create_join_table(table_1, table_2, **options)

def create_join_table(table_1, table_2, **options)
  if block_given?
    super { |t| yield compatible_table_definition(t) }
  else
    super
  end
end

def create_table(table_name, **options)

:nodoc:
This must be defined before the inherited hook, below
def create_table(table_name, **options)
  if block_given?
    super { |t| yield compatible_table_definition(t) }
  else
    super
  end
end

def drop_table(*table_names, **options)

def drop_table(*table_names, **options)
  if block_given?
    super { |t| yield compatible_table_definition(t) }
  else
    super
  end
end