feat(db): add restrict section to restrict table

This commit is contained in:
smyalygames 2023-02-14 00:01:58 +00:00
parent 6e802f8dcd
commit 7dde12f456
2 changed files with 9 additions and 0 deletions

View File

@ -0,0 +1,8 @@
/*
Warnings:
- Added the required column `section` to the `Restrict` table without a default value. This is not possible if the table is not empty.
*/
-- AlterTable
ALTER TABLE "Restrict" ADD COLUMN "section" INTEGER NOT NULL;

View File

@ -102,6 +102,7 @@ model Restrict {
endModId String? endModId String?
endTime DateTime? endTime DateTime?
reason String reason String
section Int
} }
model Ban { model Ban {