Add created_by_user_id to Order table

This commit is contained in:
Julius 2012-11-12 11:37:26 +01:00
parent cecad7db13
commit 69c4fc5817
1 changed files with 9 additions and 0 deletions

View File

@ -0,0 +1,9 @@
class AddCreatedByUserIdToOrders < ActiveRecord::Migration
def self.up
add_column :orders, :created_by_user_id, :integer
end
def self.down
remove_column :orders, :created_by_user_id
end
end