class ActiveRecord::Migration::Compatibility::V5_1

def create_table(table_name, **options)

def create_table(table_name, **options)
  if connection.adapter_name == "Mysql2" || connection.adapter_name == "Trilogy"
    super(table_name, options: "ENGINE=InnoDB", **options)
  else
    super
  end
end