fix(prisma): add removal of custom theme migration

This commit is contained in:
diced
2022-02-26 17:26:13 -08:00
parent 114a7a05a9
commit 45f29c7b68

View File

@@ -0,0 +1,14 @@
/*
Warnings:
- You are about to drop the `Theme` table. If the table is not empty, all the data it contains will be lost.
*/
-- DropForeignKey
ALTER TABLE "Theme" DROP CONSTRAINT "Theme_userId_fkey";
-- AlterTable
ALTER TABLE "User" ALTER COLUMN "systemTheme" SET DEFAULT E'system';
-- DropTable
DROP TABLE "Theme";