aboutsummaryrefslogtreecommitdiffstats
path: root/.env.postgresql
diff options
context:
space:
mode:
authorEugene Triguba <hello@eugenetriguba.com>2025-07-23 21:39:11 -0400
committerEugene Triguba <hello@eugenetriguba.com>2025-07-23 21:39:11 -0400
commit5264264333f211c9d40108955e167d28fa73f77d (patch)
tree6801a3d0460360bff5bc0b76ac482fa774e97043 /.env.postgresql
parentFix contributing link (diff)
downloadcli-5264264333f211c9d40108955e167d28fa73f77d.zip
Use DSN for handling connection parameters
Diffstat (limited to '.env.postgresql')
-rw-r--r--.env.postgresql8
1 files changed, 2 insertions, 6 deletions
diff --git a/.env.postgresql b/.env.postgresql
index 31e1bfb..3e3ad0b 100644
--- a/.env.postgresql
+++ b/.env.postgresql
@@ -1,7 +1,3 @@
-BOLT_DB_NAME=test_db
-BOLT_DB_HOST=localhost
-BOLT_DB_PORT=4001
-BOLT_DB_USER=test_user
-BOLT_DB_PASSWORD=testpassword
+BOLT_DB_DSN=postgresql://test_user:testpassword@localhost:4001/test_db?sslmode=disable
BOLT_DB_DRIVER=postgresql
-BOLT_DB_MIGRATIONS_TABLE=bolt_migrations
+BOLT_DB_MIGRATIONS_TABLE=bolt_migrations \ No newline at end of file