careerty-prism 1.0.38 → 1.0.40

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
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "careerty-prism",
3
- "version": "1.0.38",
3
+ "version": "1.0.40",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "scripts": {
@@ -0,0 +1,8 @@
1
+ /*
2
+ Warnings:
3
+
4
+ - The values [PRIVATE] on the enum `MnProgram_type` will be removed. If these variants are still used in the database, this will fail.
5
+
6
+ */
7
+ -- AlterTable
8
+ ALTER TABLE `MnProgram` MODIFY `type` ENUM('GROUP', 'ONE_TO_ONE') NOT NULL;
@@ -0,0 +1,10 @@
1
+ /*
2
+ Warnings:
3
+
4
+ - You are about to drop the column `folder` on the `MnProgram` table. All the data in the column will be lost.
5
+ - You are about to drop the column `meetCount` on the `MnProgram` table. All the data in the column will be lost.
6
+
7
+ */
8
+ -- AlterTable
9
+ ALTER TABLE `MnProgram` DROP COLUMN `folder`,
10
+ DROP COLUMN `meetCount`;
@@ -79,7 +79,7 @@ enum ApprovalRequestState {
79
79
 
80
80
  enum MnProgramType {
81
81
  GROUP
82
- PRIVATE
82
+ ONE_TO_ONE
83
83
  }
84
84
 
85
85
  model Config {
@@ -561,10 +561,7 @@ model Mentor {
561
561
  MentorAchievement MentorAchievement[]
562
562
  MentorReview MentorReview[]
563
563
  MentorLanguage MentorLanguage[]
564
- MentorCertificate MentorCertificate[]
565
- // MentorAchivement MentorAchivement[]
566
- // MnProgramMeet MnProgramMeet[]
567
-
564
+ MentorCertificate MentorCertificate[]
568
565
  MnProgramReservation MnProgramReservation[]
569
566
  }
570
567
 
@@ -664,8 +661,6 @@ model MnProgram {
664
661
  description String @db.LongText
665
662
  status Boolean @default(false)
666
663
  type MnProgramType
667
- folder String
668
- meetCount Int
669
664
  thumbnailId Int
670
665
  fullPrice Int
671
666
  commission Int