From 9809bd3793cbfc5211182ce90f587779e28b43be Mon Sep 17 00:00:00 2001 From: cirroskais Date: Tue, 30 Apr 2024 21:07:28 -0400 Subject: [PATCH] add migrations --- .../migrations/20240501010657_dope/migration.sql | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 prisma/migrations/20240501010657_dope/migration.sql diff --git a/prisma/migrations/20240501010657_dope/migration.sql b/prisma/migrations/20240501010657_dope/migration.sql new file mode 100644 index 0000000..06fba63 --- /dev/null +++ b/prisma/migrations/20240501010657_dope/migration.sql @@ -0,0 +1,16 @@ +/* + Warnings: + + - Added the required column `embedColor` to the `UserSettings` table without a default value. This is not possible if the table is not empty. + - Added the required column `embedDescription` to the `UserSettings` table without a default value. This is not possible if the table is not empty. + - Added the required column `embedTitle` to the `UserSettings` table without a default value. This is not possible if the table is not empty. + +*/ +-- AlterTable +ALTER TABLE `User` ADD COLUMN `maxUploadMB` INTEGER NOT NULL DEFAULT 100; + +-- AlterTable +ALTER TABLE `UserSettings` ADD COLUMN `embedColor` INTEGER NOT NULL, + ADD COLUMN `embedDescription` VARCHAR(191) NOT NULL, + ADD COLUMN `embedTitle` VARCHAR(191) NOT NULL, + ADD COLUMN `linkToRaw` BOOLEAN NOT NULL DEFAULT false;