Commit 772ba1bc6efcdaaac308f127dd916c49d30ceec6

Authored by AntonioTerceiro
1 parent c4f385f1

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,7 +5,7 @@ class AddTimestampsInProduct < ActiveRecord::Migration
5 end 5 end
6 6
7 def self.down 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 end 10 end
11 end 11 end