File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed
Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -23,6 +23,7 @@ DEL_INSTANCE=false
2323
2424# Provider: postgresql | mysql
2525DATABASE_PROVIDER = postgresql
26+ # DATABASE_DIRECT_URL='' # Direct connection to the database
2627DATABASE_CONNECTION_URI = ' postgresql://user:pass@localhost:5432/evolution?schema=public'
2728# Client name for the database connection
2829# It is used to separate an API installation from another that uses the same database.
Original file line number Diff line number Diff line change @@ -9,8 +9,9 @@ generator client {
99}
1010
1111datasource db {
12- provider = " postgresql "
13- url = env (" DATABASE_CONNECTION_URI " )
12+ provider = " postgresql "
13+ url = env (" DATABASE_CONNECTION_URI " )
14+ directUrl = env (" DATABASE_DIRECT_URL " )
1415}
1516
1617enum InstanceConnectionStatus {
You can’t perform that action at this time.
0 commit comments