update queue migration

This commit is contained in:
Aung Myo
2017-06-27 15:25:13 +06:30
parent ff2844124e
commit 945963362a

View File

@@ -0,0 +1,14 @@
class DiningQueues < ActiveRecord::Migration[5.1]
def change
create_table :dining_queues do |t|
t.string :name
t.string :contact_no
t.string :queue_no
t.string :status
t.references :dining_facility, foreign_key: true
t.integer :seater
t.string :remark
t.timestamps
end
end
end