Commit 772ba1bc6efcdaaac308f127dd916c49d30ceec6
1 parent
c4f385f1
Exists in
master
and in
28 other branches
ActionItem280: fixing migration
git-svn-id: https://svn.colivre.coop.br/svn/noosfero/trunk@1722 3f533792-8f58-4932-b0fe-aaf55b0a4547
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
db/migrate/031_add_timestamps_in_product.rb
... | ... | @@ -5,7 +5,7 @@ class AddTimestampsInProduct < ActiveRecord::Migration |
5 | 5 | end |
6 | 6 | |
7 | 7 | def self.down |
8 | - remove_column :products, :created_at, :datetime | |
9 | - remove_column :products, :updated_at, :datetime | |
8 | + remove_column :products, :created_at | |
9 | + remove_column :products, :updated_at | |
10 | 10 | end |
11 | 11 | end | ... | ... |