add migrations

This commit is contained in:
cirroskais 2024-04-30 21:07:28 -04:00
parent d7e8a098b3
commit 9809bd3793
No known key found for this signature in database
GPG key ID: 5FC73EBF2678E33D

View file

@ -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;