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

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