feat: Implement global badge system with Settings model and global PartnerBadge component

This commit is contained in:
Erik
2025-11-29 14:07:47 -03:00
parent 53495de904
commit 70f1541ec0
5 changed files with 163 additions and 32 deletions

View File

@@ -87,3 +87,11 @@ model Translation {
@@unique([sourceText, sourceLang, targetLang])
@@index([sourceLang, targetLang])
}
// Modelo de Configurações Globais
model Settings {
id String @id @default(cuid())
showPartnerBadge Boolean @default(false)
partnerName String @default("Coca-Cola")
updatedAt DateTime @updatedAt
}