Replace ordergroup.account_updated with non database attr.
This commit is contained in:
parent
a489079334
commit
28aec7e4d6
3 changed files with 14 additions and 4 deletions
|
|
@ -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
|
||||
Loading…
Add table
Add a link
Reference in a new issue