dining facility model
This commit is contained in:
@@ -1,7 +1,5 @@
|
||||
|
||||
class Booking < ApplicationRecord
|
||||
|
||||
|
||||
self.primary_key = "booking_id"
|
||||
|
||||
#primary key - need to be unique
|
||||
|
||||
@@ -1,7 +1,6 @@
|
||||
class DiningFacility < ApplicationRecord
|
||||
belongs_to :zone
|
||||
has_many :bookings
|
||||
|
||||
|
||||
TABLE_TYPE = "Table"
|
||||
ROOM_TYPE = "Room"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user