diff --git a/dataconnect/schema/event.gql b/dataconnect/schema/event.gql index 4a7b2392..96d4f67a 100644 --- a/dataconnect/schema/event.gql +++ b/dataconnect/schema/event.gql @@ -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") }