Switch Prisma from SQLite to PostgreSQL for production deploy.

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
2026-07-30 19:14:06 +03:30
co-authored by Cursor
parent a6b3457779
commit 01f0b82ac6
16 changed files with 332 additions and 6 deletions
+2 -2
View File
@@ -3,8 +3,8 @@ generator client {
}
datasource db {
// Local scaffold default: SQLite. For MySQL set provider = "mysql" and DATABASE_URL accordingly.
provider = "sqlite"
// Production + shared host: PostgreSQL. Local: Docker Postgres or same server DB.
provider = "postgresql"
url = env("DATABASE_URL")
}