added "linksRouteTo" field to the prisma schema

This commit is contained in:
daniel31x13
2024-02-07 10:30:09 -05:00
parent b06cb7c379
commit 7d9cc1f1f0
2 changed files with 14 additions and 0 deletions
@@ -0,0 +1,5 @@
-- CreateEnum
CREATE TYPE "LinksRouteTo" AS ENUM ('ORIGINAL', 'PDF', 'READABLE', 'SCREENSHOT');
-- AlterTable
ALTER TABLE "User" ADD COLUMN "linksRouteTo" "LinksRouteTo" NOT NULL DEFAULT 'ORIGINAL';