order queue processing
This commit is contained in:
13
db/migrate/20170414090001_create_assigned_order_items.rb
Normal file
13
db/migrate/20170414090001_create_assigned_order_items.rb
Normal file
@@ -0,0 +1,13 @@
|
||||
class CreateAssignedOrderItems < ActiveRecord::Migration[5.0]
|
||||
def change
|
||||
create_table :assigned_order_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.timestamps
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user