chore(legacy): relocate v1 dataconnect source

This commit is contained in:
zouantchaw
2026-03-18 15:04:18 +01:00
parent c9e917bed5
commit 1d850811c4
164 changed files with 55 additions and 26 deletions

View File

@@ -0,0 +1,24 @@
enum RoleType {
SKILLED
BEGINNER
CROSS_TRAINED
}
#this is skills of staff
type StaffRole @table(name: "staff_roles", key: ["staffId", "roleId"]) {
id: UUID! @default(expr: "uuidV4()")
staffId: UUID!
staff: Staff! @ref(fields: "staffId", references: "id")
roleId: UUID!
role: Role! @ref(fields: "roleId", references: "id")
roleType: RoleType
createdAt: Timestamp @default(expr: "request.time")
updatedAt: Timestamp @default(expr: "request.time")
createdBy: String
}