update crm customer and bind customer and queue
This commit is contained in:
14
db/migrate/20170623101708_create_dining_queues.rb
Normal file
14
db/migrate/20170623101708_create_dining_queues.rb
Normal file
@@ -0,0 +1,14 @@
|
||||
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.integer :seater
|
||||
t.string :remark
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user