Class: RemoveIdFromDependentmods
- Defined in:
- lib/six-updater-web/db/migrate/20100520101651_remove_id_from_dependentmods.rb
Class Method Summary collapse
Class Method Details
.down ⇒ Object
8 9 10 11 12 |
# File 'lib/six-updater-web/db/migrate/20100520101651_remove_id_from_dependentmods.rb', line 8 def self.down add_column :dependentmods, :id, :integer add_column :dependentmods, :updated_at, :datetime add_column :dependentmods, :created_at, :datetime end |
.up ⇒ Object
2 3 4 5 6 |
# File 'lib/six-updater-web/db/migrate/20100520101651_remove_id_from_dependentmods.rb', line 2 def self.up remove_column :dependentmods, :id remove_column :dependentmods, :updated_at remove_column :dependentmods, :created_at end |