|
|
@@ -13,9 +13,12 @@ class CreateAdminDeparts < ActiveRecord::Migration
|
|
|
t.timestamps
|
|
|
end
|
|
|
add_index :admin_departs, :admin_user_id
|
|
|
+ add_column :order_details, :depart, :integer
|
|
|
+
|
|
|
end
|
|
|
|
|
|
def down
|
|
|
drop_table :admin_departs
|
|
|
+ drop_table :order_details
|
|
|
end
|
|
|
end
|