mirror of
https://github.com/Since-3/Kuma.git
synced 2026-10-12 20:51:18 +00:00
coaches are saved in DB and shown
This commit is contained in:
parent
99615d4fe6
commit
bdd831903a
9 changed files with 978 additions and 21 deletions
|
|
@ -39,17 +39,24 @@ model User {
|
|||
|
||||
model Employee {
|
||||
id String @id @default(uuid())
|
||||
firstName String
|
||||
lastName String
|
||||
firstName String?
|
||||
lastName String?
|
||||
email String @unique
|
||||
is2FA Boolean @default(false)
|
||||
isSendingMail Boolean @default(false)
|
||||
pbSrc String?
|
||||
status String?
|
||||
roles String[] @default([])
|
||||
locations String[] @default([])
|
||||
permissions Json?
|
||||
affiliation String?
|
||||
label String?
|
||||
qualification String?
|
||||
authorization Json?
|
||||
onboardingToken String? @unique
|
||||
onboardingTokenExpiry DateTime?
|
||||
isOnboarded Boolean @default(false)
|
||||
createdBy String? // Manager ID who created the employee
|
||||
trainings UserTraining[]
|
||||
createdAt DateTime? @default(now())
|
||||
updatedAt DateTime? @updatedAt
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue