Sha256: e9e72a906ed8e256e23691af49601020b6be73004a7bae78b68bf5826dccc09f
Contents?: true
Size: 481 Bytes
Versions: 71
Compression:
Stored size: 481 Bytes
Contents
class RenameCardMigrationTable < ActiveRecord::Migration[4.2] def self.up if ActiveRecord::Base.connection.table_exists? :schema_migrations_cards rename_table :schema_migrations_cards, :schema_migrations_core_cards else create_table "schema_migrations_core_cards", id: false, force: true do |t| t.string "version", null: false end end end def self.down rename_table :schema_migrations_core_cards, :schema_migrations_cards end end
Version data entries
71 entries across 71 versions & 1 rubygems