new schema for event adding authid for created by and chaging type for assiged_staff and shits

This commit is contained in:
José Salazar
2025-11-19 15:53:11 -05:00
parent e8ffa4c5ef
commit 38b68e8520

View File

@@ -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")
}