This commit is contained in:
2025-08-24 17:25:11 +03:00
parent 9f6fca6dac
commit 7fd2a6e55f
41 changed files with 505 additions and 41 deletions

View File

@@ -0,0 +1,12 @@
/*
Warnings:
- You are about to drop the column `text` on the `Candidate` table. All the data in the column will be lost.
- Added the required column `justification` to the `Candidate` table without a default value. This is not possible if the table is not empty.
*/
-- AlterTable
ALTER TABLE "public"."Candidate" DROP COLUMN "text",
ADD COLUMN "justification" TEXT NOT NULL,
ALTER COLUMN "hobbies" DROP NOT NULL,
ALTER COLUMN "image" DROP NOT NULL;

View File

@@ -0,0 +1,9 @@
/*
Warnings:
- You are about to drop the column `image` on the `Candidate` table. All the data in the column will be lost.
*/
-- AlterTable
ALTER TABLE "public"."Candidate" DROP COLUMN "image",
ADD COLUMN "profileImage" TEXT;