new shift entity
This commit is contained in:
10
dataconnect/schema/shift.gql
Normal file
10
dataconnect/schema/shift.gql
Normal file
@@ -0,0 +1,10 @@
|
||||
type Shift @table(name: "shifts") {
|
||||
id: UUID! @default(expr: "uuidV4()")
|
||||
shiftName: String!
|
||||
startDate: Timestamp!
|
||||
endDate: Timestamp
|
||||
assignedStaff: String # assigned_staff (jsonb -> String, array de objects)
|
||||
createdDate: Timestamp @default(expr: "request.time")
|
||||
updatedDate: Timestamp @default(expr: "request.time")
|
||||
createdBy: String @default(expr: "auth.uid")
|
||||
}
|
||||
Reference in New Issue
Block a user