feat: get miis from database and client like button

This commit is contained in:
trafficlunar 2025-03-29 22:48:35 +00:00
parent 7b799405dc
commit 8625321ece
5 changed files with 89 additions and 18 deletions

View file

@ -0,0 +1,2 @@
-- AlterTable
ALTER TABLE "miis" ADD COLUMN "tags" TEXT[];

View file

@ -62,8 +62,9 @@ model Session {
model Mii {
id BigInt @id @default(autoincrement())
userId String
name String
name String @db.VarChar(64)
pictures String[]
tags String[]
likes Int @default(0)
createdAt DateTime @default(now())