feat: punishment page

This commit is contained in:
trafficlunar 2025-05-31 22:40:56 +01:00
parent 780e147f32
commit aef188f7c8
12 changed files with 401 additions and 29 deletions

View file

@ -0,0 +1,2 @@
-- AlterTable
ALTER TABLE "punishments" ADD COLUMN "returned" BOOLEAN NOT NULL DEFAULT false;

View file

@ -136,9 +136,10 @@ model MiiPunishment {
}
model Punishment {
id Int @id @default(autoincrement())
userId Int
type PunishmentType
id Int @id @default(autoincrement())
userId Int
type PunishmentType
returned Boolean @default(false)
notes String
reasons String[]