Store political statements in database

This commit is contained in:
Hördle Bot
2025-12-02 14:14:53 +01:00
parent ade1043c3c
commit 170e7b5402
3 changed files with 92 additions and 72 deletions

View File

@@ -101,3 +101,15 @@ model PlayerState {
@@unique([identifier, genreKey])
@@index([identifier])
}
model PoliticalStatement {
id Int @id @default(autoincrement())
locale String
text String
active Boolean @default(true)
source String?
createdAt DateTime @default(now())
updatedAt DateTime @updatedAt
@@index([locale, active])
}