Sha256: 3810fb8b4c0cc5e4b1e4e24fb1ce42a31729be9553e76edb849e0266b9d4cb25
Contents?: true
Size: 672 Bytes
Versions: 2
Compression:
Stored size: 672 Bytes
Contents
class Rtm01to02 < ActiveRecord::Migration def self.up rename_table :association_roles, :roles rename_table :topic_names, :names rename_column :variants, :topic_name_id, :name_id rename_column :item_identifiers, :topic_map_construct_id, :construct_id rename_column :item_identifiers, :topic_map_construct_type, :construct_type end def self.down rename_table :roles, :association_roles rename_table :names, :topic_names rename_column :variants, :name_id, :topic_name_id rename_column :item_identifiers, :construct_id, :topic_map_construct_id rename_column :item_identifiers, :construct_type, :topic_map_construct_type end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
rtm-activerecord-0.3.1 | lib/rtm/activerecord/002_rtm01to02.rb |
rtm-activerecord-0.3.0 | lib/rtm/activerecord/002_rtm01to02.rb |