🚧 wip: try to create character with VA in bulk

This commit is contained in:
Rafi Arrafif
2026-01-24 22:02:34 +07:00
parent 7d26ca7f7b
commit fe10412f1a
9 changed files with 153 additions and 13 deletions

View File

@ -111,24 +111,25 @@ model Studio {
}
model Character {
id String @id @default(uuid()) @db.Uuid
name String
role CharacterRole
favorites Int @default(0)
imageUrl String?
id String @id @default(uuid()) @db.Uuid
malId Int @unique
name String
role CharacterRole
favorites Int @default(0)
imageUrl String?
smallImageUrl String?
createdBy User @relation("UserCreatedCharacters", fields: [creatorId], references: [id])
creatorId String
deletedAt DateTime?
createdAt DateTime @default(now())
updatedAt DateTime @default(now()) @updatedAt
createdBy User @relation("UserCreatedCharacters", fields: [creatorId], references: [id])
creatorId String
deletedAt DateTime?
createdAt DateTime @default(now())
updatedAt DateTime @default(now()) @updatedAt
@@map("characters")
}
model VoiceActor {
id String @id @default(uuid()) @db.Uuid
malId Int
malId Int @unique
name String
birthday DateTime?
description String @db.Text