careerty-prism 1.0.28 → 1.0.30
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
CHANGED
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Warnings:
|
|
3
|
+
|
|
4
|
+
- You are about to drop the column `MnProgramType` on the `mnprogram` table. All the data in the column will be lost.
|
|
5
|
+
- Added the required column `type` to the `MnProgram` table without a default value. This is not possible if the table is not empty.
|
|
6
|
+
|
|
7
|
+
*/
|
|
8
|
+
-- AlterTable
|
|
9
|
+
ALTER TABLE `mnprogram` DROP COLUMN `MnProgramType`,
|
|
10
|
+
ADD COLUMN `type` ENUM('GROUP', 'PRIVATE') NOT NULL;
|
package/prisma/schema.prisma
CHANGED
|
@@ -531,7 +531,7 @@ model Mentor {
|
|
|
531
531
|
email String @unique
|
|
532
532
|
phone String
|
|
533
533
|
password String
|
|
534
|
-
status
|
|
534
|
+
status Boolean @default(false)
|
|
535
535
|
isDeleted Boolean @default(false)
|
|
536
536
|
isBanned Boolean @default(false)
|
|
537
537
|
thumbnailId Int
|
|
@@ -577,7 +577,7 @@ model MnCategory {
|
|
|
577
577
|
isDeleted Boolean @default(false)
|
|
578
578
|
translations MnCategoryTranslation[]
|
|
579
579
|
Mentor Mentor[]
|
|
580
|
-
MnProgram
|
|
580
|
+
MnProgram MnProgram[]
|
|
581
581
|
}
|
|
582
582
|
|
|
583
583
|
model MnCategoryTranslation {
|
|
@@ -648,7 +648,7 @@ model MnProgram {
|
|
|
648
648
|
name String
|
|
649
649
|
description String @db.LongText
|
|
650
650
|
status Boolean @default(false)
|
|
651
|
-
MnProgramType
|
|
651
|
+
type MnProgramType
|
|
652
652
|
categoryId Int
|
|
653
653
|
folder String
|
|
654
654
|
meetCount Int
|