mirror of
https://github.com/trafficlunar/tomodachi-share.git
synced 2026-06-27 22:24:14 +00:00
feat: punishment page
This commit is contained in:
parent
780e147f32
commit
aef188f7c8
12 changed files with 401 additions and 29 deletions
|
|
@ -0,0 +1,2 @@
|
|||
-- AlterTable
|
||||
ALTER TABLE "punishments" ADD COLUMN "returned" BOOLEAN NOT NULL DEFAULT false;
|
||||
|
|
@ -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[]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue