assign queue and other bug

This commit is contained in:
Aung Myo
2017-06-18 00:03:09 +06:30
parent c7efcb85d3
commit b62d5349c6
13 changed files with 191 additions and 65 deletions

View File

@@ -0,0 +1,13 @@
class CreateDiningQueues < 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.timestamps
end
end
end