modifications queries, mutations of contact, recentPayment, shiftRole, teamhub
This commit is contained in:
@@ -1,21 +0,0 @@
|
||||
enum ReqDocumentStatus {
|
||||
VERIFIED
|
||||
PENDING
|
||||
MISSING
|
||||
REJECTED
|
||||
}
|
||||
|
||||
type RequiredDoc @table(name: "required_docs") {
|
||||
id: UUID! @default(expr: "uuidV4()")
|
||||
|
||||
name: String!
|
||||
description: String
|
||||
status: ReqDocumentStatus!
|
||||
|
||||
staffId: UUID!
|
||||
fileUrl: String
|
||||
|
||||
createdAt: Timestamp @default(expr: "request.time")
|
||||
updatedAt: Timestamp @default(expr: "request.time")
|
||||
createdBy: String
|
||||
}
|
||||
@@ -2,6 +2,8 @@ type TeamHub @table(name: "team_hubs") {
|
||||
id: UUID! @default(expr: "uuidV4()")
|
||||
|
||||
teamId: UUID!
|
||||
team: Team! @ref(fields: "teamId", references: "id")
|
||||
|
||||
hubName: String!
|
||||
address: String!
|
||||
city: String!
|
||||
|
||||
Reference in New Issue
Block a user