adding hubid to order
This commit is contained in:
@@ -33,7 +33,7 @@ type Order @table(name: "orders") {
|
||||
business: Business! @ref(fields: "businessId", references: "id")
|
||||
|
||||
orderType: OrderType!
|
||||
location: String
|
||||
#location: String
|
||||
status: OrderStatus! @default(expr: "'DRAFT'")
|
||||
duration: OrderDuration
|
||||
lunchBreak: Int
|
||||
@@ -44,7 +44,8 @@ type Order @table(name: "orders") {
|
||||
shifts: Any @col(dataType: "jsonb")
|
||||
|
||||
requested: Int
|
||||
hub: String
|
||||
teamHubId: UUID!
|
||||
teamHub: TeamHub! @ref(fields: "teamHubId", references: "id")
|
||||
|
||||
date: Timestamp
|
||||
|
||||
|
||||
Reference in New Issue
Block a user