modification for the name of the table to staffs

This commit is contained in:
José Salazar
2025-11-21 14:15:40 -05:00
parent 85cfad0f2c
commit 4ef479ef1c
3 changed files with 4 additions and 6 deletions

View File

@@ -1,5 +1,3 @@
# firebase/dataconnect/schema/staff.gql
enum EmploymentType {
FULL_TIME
PART_TIME
@@ -14,7 +12,7 @@ enum BackgroundCheckStatus {
EXPIRED
}
type Staff @table(name: "staff") {
type Staff @table(name: "staffs") {
id: UUID! @default(expr: "uuidV4()")
employeeName: String!
vendorId: UUID
@@ -24,7 +22,7 @@ type Staff @table(name: "staff") {
rating: Float
reliabilityScore: Int
backgroundCheckStatus: BackgroundCheckStatus!
certifications: JSON
certifications: String
createdDate: Timestamp @default(expr: "request.time")
updatedDate: Timestamp @default(expr: "request.time")
createdBy: String @default(expr: "auth.uid")