v1.2.0: Symbol-Verwaltung, SOMA-Admin, Light Mode Farbsystem, Onboarding-Tour, Credit-Link
This commit is contained in:
@@ -89,6 +89,7 @@ model Tenant {
|
||||
checkTemplates JournalCheckTemplate[]
|
||||
iconCategories IconCategory[]
|
||||
iconAssets IconAsset[]
|
||||
tenantSymbols TenantSymbol[]
|
||||
upgradeRequests UpgradeRequest[]
|
||||
dictionaryEntries DictionaryEntry[]
|
||||
rapports Rapport[]
|
||||
@@ -236,6 +237,8 @@ model IconAsset {
|
||||
tenantId String?
|
||||
tenant Tenant? @relation(fields: [tenantId], references: [id], onDelete: SetNull)
|
||||
|
||||
tenantSymbols TenantSymbol[]
|
||||
|
||||
@@map("icon_assets")
|
||||
}
|
||||
|
||||
@@ -375,6 +378,22 @@ model UpgradeRequest {
|
||||
@@map("upgrade_requests")
|
||||
}
|
||||
|
||||
// ─── Tenant Symbol Visibility ─────────────────────────────
|
||||
|
||||
model TenantSymbol {
|
||||
id String @id @default(uuid())
|
||||
isActive Boolean @default(true)
|
||||
|
||||
tenantId String
|
||||
tenant Tenant @relation(fields: [tenantId], references: [id], onDelete: Cascade)
|
||||
|
||||
iconId String
|
||||
icon IconAsset @relation(fields: [iconId], references: [id], onDelete: Cascade)
|
||||
|
||||
@@unique([tenantId, iconId])
|
||||
@@map("tenant_symbols")
|
||||
}
|
||||
|
||||
// ─── Dictionary (Global + Tenant word library) ────────────
|
||||
|
||||
model DictionaryEntry {
|
||||
|
||||
Reference in New Issue
Block a user