feat: makeup filter, bad_quality report type

This commit is contained in:
trafficlunar 2026-03-28 11:48:59 +00:00
parent 4f03d611eb
commit fd11f996df
15 changed files with 233 additions and 15 deletions

View file

@ -0,0 +1,2 @@
-- AlterEnum
ALTER TYPE "ReportReason" ADD VALUE 'BAD_QUALITY';

View file

@ -0,0 +1,5 @@
-- CreateEnum
CREATE TYPE "MiiMakeup" AS ENUM ('FULL', 'PARTIAL', 'NONE');
-- AlterTable
ALTER TABLE "miis" ADD COLUMN "makeup" "MiiMakeup";

View file

@ -76,10 +76,12 @@ model Mii {
description String? @db.VarChar(256)
platform MiiPlatform @default(THREE_DS)
instructions Json?
instructions Json?
gender MiiGender?
makeup MiiMakeup?
firstName String?
lastName String?
gender MiiGender?
islandName String?
allowedCopying Boolean?
@ -166,6 +168,12 @@ enum MiiGender {
NONBINARY
}
enum MiiMakeup {
FULL
PARTIAL
NONE
}
enum ReportType {
MII
USER
@ -175,6 +183,7 @@ enum ReportReason {
INAPPROPRIATE
SPAM
COPYRIGHT
BAD_QUALITY
OTHER
}