Add created_by_user_id to Order table
This commit is contained in:
parent
cecad7db13
commit
69c4fc5817
1 changed files with 9 additions and 0 deletions
|
@ -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
|
Loading…
Reference in a new issue