chore: switch prisma datasource to postgresql
Some checks failed
CI - Production Readiness / Verify (push) Has been cancelled

This commit is contained in:
Wira Basalamah
2026-04-21 12:21:51 +07:00
parent 3244aeeba9
commit 43f33edc8b
2 changed files with 3 additions and 2 deletions

View File

@ -1,4 +1,5 @@
DATABASE_URL="file:./dev.db" # Prisma datasource: production uses PostgreSQL in this project.
DATABASE_URL="postgresql://whatsapp_inbox:YOUR_DB_PASSWORD@127.0.0.1:5432/whatsapp_inbox?schema=public"
AUTH_SECRET="change-me" AUTH_SECRET="change-me"
WHATSAPP_API_TOKEN="your-meta-token" WHATSAPP_API_TOKEN="your-meta-token"
WHATSAPP_API_VERSION="v22.0" WHATSAPP_API_VERSION="v22.0"

View File

@ -3,7 +3,7 @@ generator client {
} }
datasource db { datasource db {
provider = "sqlite" provider = "postgresql"
url = env("DATABASE_URL") url = env("DATABASE_URL")
} }