class ActiveRecord::SchemaMigration
def create_table
def create_table unless connection.table_exists?(table_name) connection.create_table(table_name, id: false) do |t| t.string :version, **connection.internal_string_options_for_primary_key end end end