diff --git a/prisma/migrations/20230214000132_restrict_section/migration.sql b/prisma/migrations/20230214000132_restrict_section/migration.sql new file mode 100644 index 0000000..5c80fad --- /dev/null +++ b/prisma/migrations/20230214000132_restrict_section/migration.sql @@ -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; diff --git a/prisma/schema.prisma b/prisma/schema.prisma index 9566290..d42e3d0 100644 --- a/prisma/schema.prisma +++ b/prisma/schema.prisma @@ -102,6 +102,7 @@ model Restrict { endModId String? endTime DateTime? reason String + section Int } model Ban {