employee login and authentication with session
This commit is contained in:
10
db/migrate/20170414110918_create_booking_orders.rb
Normal file
10
db/migrate/20170414110918_create_booking_orders.rb
Normal file
@@ -0,0 +1,10 @@
|
||||
class CreateBookingOrders < ActiveRecord::Migration[5.0]
|
||||
def change
|
||||
create_table :booking_orders do |t|
|
||||
t.references :booking, foreign_key: true
|
||||
t.references :order, foreign_key: true
|
||||
|
||||
t.timestamps
|
||||
end
|
||||
end
|
||||
end
|
||||
Reference in New Issue
Block a user