update queue migration
This commit is contained in:
14
db/migrate/20170627085117_dining_queues.rb
Normal file
14
db/migrate/20170627085117_dining_queues.rb
Normal 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
|
||||
Reference in New Issue
Block a user