mirror of
https://github.com/sqlchat/sqlchat.git
synced 2025-09-22 18:09:39 +08:00
feat: use connection pooling (#102)
This commit is contained in:
@ -11,7 +11,10 @@ generator client {
|
||||
|
||||
datasource db {
|
||||
provider = "postgresql"
|
||||
// Connection pooling URL
|
||||
url = env("DATABASE_URL")
|
||||
// Connection pooling is not supported by Prisma migrate yet. So need to use directUrl
|
||||
directUrl = env("DATABASE_DIRECT_URL")
|
||||
}
|
||||
|
||||
model Chat {
|
||||
|
Reference in New Issue
Block a user