You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
- You are about to drop the column `skillId` on the `SkillForFeaturedProject` table. All the data in the column will be lost.
5
+
- Added the required column `skillForUserId` to the `SkillForFeaturedProject` table without a default value. This is not possible if the table is not empty.
6
+
7
+
*/
8
+
-- DropForeignKey
9
+
ALTERTABLE"ampdresume"."SkillForFeaturedProject" DROP CONSTRAINT"SkillForFeaturedProject_skillId_fkey";
10
+
11
+
-- AlterTable
12
+
ALTERTABLE"ampdresume"."SkillForFeaturedProject" DROP COLUMN "skillId",
13
+
ADD COLUMN "skillForUserId"TEXTNOT NULL;
14
+
15
+
-- AddForeignKey
16
+
ALTERTABLE"ampdresume"."SkillForFeaturedProject" ADD CONSTRAINT"SkillForFeaturedProject_skillForUserId_fkey"FOREIGN KEY ("skillForUserId") REFERENCES"ampdresume"."SkillForUser"("id") ON DELETE CASCADEONUPDATE CASCADE;
0 commit comments