mirror of
https://github.com/trafficlunar/tomodachi-share.git
synced 2026-06-28 06:34:15 +00:00
feat: show mii images from database
This commit is contained in:
parent
68eed4e5fd
commit
84a732c34d
4 changed files with 16 additions and 7 deletions
|
|
@ -0,0 +1,9 @@
|
|||
/*
|
||||
Warnings:
|
||||
|
||||
- You are about to drop the column `pictures` on the `miis` table. All the data in the column will be lost.
|
||||
|
||||
*/
|
||||
-- AlterTable
|
||||
ALTER TABLE "miis" DROP COLUMN "pictures",
|
||||
ADD COLUMN "images" TEXT[];
|
||||
|
|
@ -61,11 +61,11 @@ model Session {
|
|||
}
|
||||
|
||||
model Mii {
|
||||
id Int @id @default(autoincrement())
|
||||
userId Int
|
||||
name String @db.VarChar(64)
|
||||
pictures String[]
|
||||
tags String[]
|
||||
id Int @id @default(autoincrement())
|
||||
userId Int
|
||||
name String @db.VarChar(64)
|
||||
images String[]
|
||||
tags String[]
|
||||
|
||||
createdAt DateTime @default(now())
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue