Sha256: f9e9091b5df8615ca7de61223957db29dea9df3d6c84e0784a9000f5ee310ea3
Contents?: true
Size: 488 Bytes
Versions: 19
Compression:
Stored size: 488 Bytes
Contents
class RenameCardMigrationTable < ActiveRecord::Migration 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
19 entries across 19 versions & 2 rubygems