Sha256: cb0b2636c6e702213a5ae402805f699b17292a9a8587f558fdca736fb10e7c77
Contents?: true
Size: 392 Bytes
Versions: 1
Compression:
Stored size: 392 Bytes
Contents
class RenameEventsToNodes < ActiveRecord::Migration def change rename_column :choo_choo_activities, :last_event_id, :last_updated_node_id rename_column :choo_choo_activities, :last_event_type, :last_updated_node_type rename_column :choo_choo_activities, :master_event_id, :parent_node_id rename_column :choo_choo_activities, :master_event_type, :parent_node_type end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
choo_choo-0.0.1 | db/migrate/20140311120314_rename_events_to_nodes.rb |