careerty-prism 1.0.28 → 1.0.29
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
|
@@ -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
|