careerty-prism 1.0.20 → 1.0.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/prisma/schema.prisma +30 -1
package/package.json
CHANGED
package/prisma/schema.prisma
CHANGED
|
@@ -77,6 +77,11 @@ enum ApprovalRequestState {
|
|
|
77
77
|
REJECTED
|
|
78
78
|
}
|
|
79
79
|
|
|
80
|
+
enum MnProgramType {
|
|
81
|
+
GROUP
|
|
82
|
+
PRIVATE
|
|
83
|
+
}
|
|
84
|
+
|
|
80
85
|
model Config {
|
|
81
86
|
id Int @id @default(autoincrement())
|
|
82
87
|
configName String @unique
|
|
@@ -317,7 +322,7 @@ model CV {
|
|
|
317
322
|
organizations CvOrganization[]
|
|
318
323
|
awards CvAward[]
|
|
319
324
|
references CvReference[]
|
|
320
|
-
|
|
325
|
+
certificates CvCertificate[]
|
|
321
326
|
contacts CvContact[]
|
|
322
327
|
metas CvMeta[]
|
|
323
328
|
createdAt DateTime @default(now())
|
|
@@ -531,10 +536,12 @@ model Mentor {
|
|
|
531
536
|
isBanned Boolean @default(false)
|
|
532
537
|
thumbnailId Int
|
|
533
538
|
userId Int
|
|
539
|
+
categoryId Int
|
|
534
540
|
createdAt DateTime @default(now())
|
|
535
541
|
updatedAt DateTime @updatedAt
|
|
536
542
|
user User @relation(fields: [userId], references: [id])
|
|
537
543
|
thumbnail Upload @relation(fields: [thumbnailId], references: [id])
|
|
544
|
+
Category MnCategory @relation(fields: [categoryId], references: [id])
|
|
538
545
|
ServiceMentor ServiceMentor[]
|
|
539
546
|
ServiceRequest ServiceRequest[]
|
|
540
547
|
MnProgramMentor MnProgramMentor[]
|
|
@@ -560,6 +567,27 @@ model MentorAvailablitySlot {
|
|
|
560
567
|
MentorAvailablity MentorAvailablity @relation(fields: [mentorAvailablityId], references: [id])
|
|
561
568
|
}
|
|
562
569
|
|
|
570
|
+
model MnCategory {
|
|
571
|
+
id Int @id @default(autoincrement())
|
|
572
|
+
name String
|
|
573
|
+
description String @db.LongText
|
|
574
|
+
icon String
|
|
575
|
+
status Boolean @default(false)
|
|
576
|
+
permalink String @unique
|
|
577
|
+
isDeleted Boolean @default(false)
|
|
578
|
+
MnCategoryTranlstion MnCategoryTranlstion[]
|
|
579
|
+
Mentor Mentor[]
|
|
580
|
+
}
|
|
581
|
+
|
|
582
|
+
model MnCategoryTranlstion {
|
|
583
|
+
id Int @id @default(autoincrement())
|
|
584
|
+
key String
|
|
585
|
+
value String
|
|
586
|
+
lang String
|
|
587
|
+
categoryId Int
|
|
588
|
+
Category MnCategory @relation(fields: [categoryId], references: [id])
|
|
589
|
+
}
|
|
590
|
+
|
|
563
591
|
model Service {
|
|
564
592
|
id Int @id @default(autoincrement())
|
|
565
593
|
name String
|
|
@@ -619,6 +647,7 @@ model MnProgram {
|
|
|
619
647
|
name String
|
|
620
648
|
description String @db.LongText
|
|
621
649
|
status Boolean @default(false)
|
|
650
|
+
MnProgramType MnProgramType
|
|
622
651
|
folder String
|
|
623
652
|
meetCount Int
|
|
624
653
|
thumbnailId Int
|