fix(prisma): add removal of custom theme migration

This commit is contained in:
diced 2022-02-26 17:27:37 -08:00
parent 16d2014bfb
commit 870f6e88b1
No known key found for this signature in database
GPG key ID: 85AB64C74535D76E

View file

@ -0,0 +1,12 @@
/*
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";