Merge branch 'master' of ssh://bitbucket.org/code2lab/sxrestaurant
This commit is contained in:
13
db/migrate/20170531070951_create_order_queue_items.rb
Normal file
13
db/migrate/20170531070951_create_order_queue_items.rb
Normal 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
|
||||
Reference in New Issue
Block a user