// Prisma schema — the single source of truth for the database structure. // The entity documentation lives in docs/architecture/data-model.md; keep // both in sync when the schema evolves. generator client { provider = "prisma-client-js" } datasource db { provider = "postgresql" url = env("DATABASE_URL") } /// Typed key-value configuration for the instance (registration mode, /// default quotas, legal pages, …). Values are validated with Zod before /// writing; see the InstanceSettings service (issue #19). model InstanceSetting { key String @id value Json updatedAt DateTime @updatedAt @@map("instance_settings") }