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;