careerty-prism 1.0.37 → 1.0.38
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,11 @@
|
|
|
1
|
+
/*
|
|
2
|
+
Warnings:
|
|
3
|
+
|
|
4
|
+
- You are about to drop the column `categoryId` on the `Mentor` table. All the data in the column will be lost.
|
|
5
|
+
|
|
6
|
+
*/
|
|
7
|
+
-- DropForeignKey
|
|
8
|
+
ALTER TABLE `Mentor` DROP FOREIGN KEY `Mentor_categoryId_fkey`;
|
|
9
|
+
|
|
10
|
+
-- AlterTable
|
|
11
|
+
ALTER TABLE `Mentor` DROP COLUMN `categoryId`;
|
package/prisma/schema.prisma
CHANGED
|
@@ -551,12 +551,10 @@ model Mentor {
|
|
|
551
551
|
isFeatured Boolean @default(false)
|
|
552
552
|
thumbnailId Int
|
|
553
553
|
userId Int
|
|
554
|
-
categoryId Int
|
|
555
554
|
createdAt DateTime @default(now())
|
|
556
555
|
updatedAt DateTime @updatedAt
|
|
557
556
|
user User @relation(fields: [userId], references: [id])
|
|
558
557
|
thumbnail Upload @relation(fields: [thumbnailId], references: [id])
|
|
559
|
-
Category MnCategory @relation(fields: [categoryId], references: [id])
|
|
560
558
|
MnProgramMentor MnProgramMentor[]
|
|
561
559
|
MentorAvailablity MentorAvailablity[]
|
|
562
560
|
UserFavoriteMentor UserFavoriteMentor[]
|
|
@@ -647,8 +645,6 @@ model MnCategory {
|
|
|
647
645
|
permalink String @unique
|
|
648
646
|
isDeleted Boolean @default(false)
|
|
649
647
|
translations MnCategoryTranslation[]
|
|
650
|
-
Mentor Mentor[]
|
|
651
|
-
|
|
652
648
|
MnProgramCategory MnProgramCategory[]
|
|
653
649
|
}
|
|
654
650
|
|