fix: Update staff's cerficate schema to create queries and mutations
This commit is contained in:
@@ -30,7 +30,7 @@ enum ValidationStatus {
|
||||
}
|
||||
|
||||
|
||||
type Certificate @table(name: "certificates") {
|
||||
type Certificate @table(name: "certificates", key: ["staffId", "certificationType"]) {
|
||||
id: UUID! @default(expr: "uuidV4()")
|
||||
|
||||
name: String!
|
||||
@@ -39,7 +39,7 @@ type Certificate @table(name: "certificates") {
|
||||
status: CertificateStatus!
|
||||
fileUrl: String
|
||||
icon: String
|
||||
certificationType: ComplianceType
|
||||
certificationType: ComplianceType!
|
||||
issuer: String #Issuing Authority
|
||||
certificateNumber: String
|
||||
|
||||
|
||||
Reference in New Issue
Block a user