new schema for event adding authid for created by and chaging type for assiged_staff and shits
This commit is contained in:
@@ -25,13 +25,13 @@ type Event @table(name: "events") {
|
||||
vendorId: UUID
|
||||
status: EventStatus!
|
||||
date: Timestamp!
|
||||
shifts: String @col(dataType: "jsonb")
|
||||
shifts: String
|
||||
total: Float
|
||||
requested: Int
|
||||
assignedStaff: String @col(dataType: "jsonb")
|
||||
assignedStaff: String
|
||||
createdDate: Timestamp @default(expr: "request.time")
|
||||
updatedDate: Timestamp @default(expr: "request.time")
|
||||
createdBy: String
|
||||
createdBy: String @default(expr: "auth.uid")
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user