Merge branch 'master' of ssh://bitbucket.org/code2lab/sxrestaurant

This commit is contained in:
Min Zeya Phyo
2017-05-31 23:50:06 +08:00
11 changed files with 45 additions and 15 deletions

View File

@@ -0,0 +1,13 @@
class CreateOrderQueueItems < ActiveRecord::Migration[5.1]
def change
create_table :order_queue_items do |t|
t.string :item_code, :null => false, :index => true
t.references :order_queue_station, foreign_key: true
t.references :order, foreign_key: true
t.boolean :print_status
t.boolean :delivery_status
t.boolean :queue_status
t.timestamps
end
end
end