add migrations
This commit is contained in:
parent
d7e8a098b3
commit
9809bd3793
1 changed files with 16 additions and 0 deletions
16
prisma/migrations/20240501010657_dope/migration.sql
Normal file
16
prisma/migrations/20240501010657_dope/migration.sql
Normal 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;
|
Loading…
Reference in a new issue