fix: corrige tipo JSON para String no SQLite e acentuação nos textos
- Altera typePreferences e categoryPreferences de Json para String no Prisma - Atualiza API de preferências para fazer parse/stringify de JSON - Corrige todos os textos sem acentuação nos componentes de notificação 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
This commit is contained in:
parent
f2c0298285
commit
7ecb4c1110
7 changed files with 104 additions and 89 deletions
|
|
@ -462,11 +462,11 @@ model NotificationPreferences {
|
|||
|
||||
// Preferências por tipo de notificação (JSON)
|
||||
// Ex: { "ticket_created": true, "ticket_resolved": true, "comment_public": false }
|
||||
typePreferences Json @default("{}")
|
||||
typePreferences String @default("{}")
|
||||
|
||||
// Preferências por categoria de ticket (JSON)
|
||||
// Ex: { "category_id_1": true, "category_id_2": false }
|
||||
categoryPreferences Json @default("{}")
|
||||
categoryPreferences String @default("{}")
|
||||
|
||||
createdAt DateTime @default(now())
|
||||
updatedAt DateTime @updatedAt
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue