Replace ordergroup.account_updated with non database attr.

This commit is contained in:
benni 2012-12-30 15:31:37 +01:00
parent a489079334
commit 28aec7e4d6
3 changed files with 14 additions and 4 deletions

View file

@ -0,0 +1,9 @@
class RemoveAccountUpdatedFromOrdergroups < ActiveRecord::Migration
def up
remove_column :groups, :account_updated
end
def down
add_column :groups, :account_updated, :datetime
end
end