Sha256: 3af1f7e9a597424f8e56346c034e147ce1d5494613ce1e58af45d297cf1e2947
Contents?: true
Size: 595 Bytes
Versions: 76
Compression:
Stored size: 595 Bytes
Contents
# -*- encoding : utf-8 -*- class SplitLinkType < ActiveRecord::Migration def up add_column :card_references, :present, :integer rename_column :card_references, :card_id, :referer_id rename_column :card_references, :referenced_card_id, :referee_id rename_column :card_references, :referenced_name, :referee_key end def down rename_column :card_references, :referer_id, :card_id rename_column :card_references, :referee_id, :referenced_card_id rename_column :card_references, :referee_key, :referenced_name remove_column :card_references, :present end end
Version data entries
76 entries across 76 versions & 2 rubygems