Postgres
This commit is contained in:
@@ -1,14 +1,12 @@
|
||||
// InnungsApp — Prisma Schema
|
||||
// Stack: SQLite + Prisma ORM + better-auth
|
||||
// Note: SQLite has no native enum support — enum fields are stored as String.
|
||||
// Valid values are enforced at the application layer (Zod).
|
||||
// Stack: PostgreSQL + Prisma ORM + better-auth
|
||||
|
||||
generator client {
|
||||
provider = "prisma-client-js"
|
||||
}
|
||||
|
||||
datasource db {
|
||||
provider = "sqlite"
|
||||
provider = "postgresql"
|
||||
url = env("DATABASE_URL")
|
||||
}
|
||||
|
||||
@@ -108,8 +106,8 @@ model Organization {
|
||||
landingPageButtonText String? @map("landing_page_button_text")
|
||||
landingPageHeroImage String? @map("landing_page_hero_image")
|
||||
landingPageHeroOverlayOpacity Int? @default(50) @map("landing_page_hero_overlay_opacity")
|
||||
landingPageFeatures String? @map("landing_page_features")
|
||||
landingPageFooter String? @map("landing_page_footer")
|
||||
landingPageFeatures Json? @map("landing_page_features") @db.JsonB
|
||||
landingPageFooter Json? @map("landing_page_footer") @db.JsonB
|
||||
appStoreUrl String? @map("app_store_url")
|
||||
playStoreUrl String? @map("play_store_url")
|
||||
aiEnabled Boolean @default(false) @map("ai_enabled")
|
||||
|
||||
Reference in New Issue
Block a user