moving dataconnect to dev
This commit is contained in:
17
backend/dataconnect/schema/emergencyContact.gql
Normal file
17
backend/dataconnect/schema/emergencyContact.gql
Normal file
@@ -0,0 +1,17 @@
|
||||
enum RelationshipType {
|
||||
FAMILY
|
||||
SPOUSE
|
||||
FRIEND
|
||||
OTHER
|
||||
}
|
||||
|
||||
type EmergencyContact @table(name: "emergecyContacts") {
|
||||
id: UUID! @default(expr: "uuidV4()")
|
||||
name: String!
|
||||
phone: String!
|
||||
relationship: RelationshipType!
|
||||
staffId: UUID!
|
||||
createdAt: Timestamp @default(expr: "request.time")
|
||||
updatedAt: Timestamp @default(expr: "request.time")
|
||||
createdBy: String
|
||||
}
|
||||
Reference in New Issue
Block a user