mirror of
https://github.com/sqlchat/sqlchat.git
synced 2025-07-25 15:56:35 +08:00
feat: use connection pooling (#102)
This commit is contained in:
@ -10,8 +10,11 @@ generator client {
|
||||
}
|
||||
|
||||
datasource db {
|
||||
provider = "postgresql"
|
||||
url = env("DATABASE_URL")
|
||||
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