created migration script [WIP]

This commit is contained in:
daniel31x13
2023-10-25 15:42:36 -04:00
parent 2be2a83c62
commit 966136dab6
4 changed files with 101 additions and 2 deletions
@@ -0,0 +1,13 @@
/*
Warnings:
- You are about to drop the column `image` on the `User` table. All the data in the column will be lost.
*/
-- AlterTable
ALTER TABLE "Link" ADD COLUMN "pdfPath" TEXT,
ADD COLUMN "screenshotPath" TEXT;
-- AlterTable
ALTER TABLE "User" DROP COLUMN "image",
ADD COLUMN "imagePath" TEXT;