From 5264264333f211c9d40108955e167d28fa73f77d Mon Sep 17 00:00:00 2001 From: Eugene Triguba Date: Wed, 23 Jul 2025 21:39:11 -0400 Subject: Use DSN for handling connection parameters --- .env.postgresql | 8 ++------ 1 file changed, 2 insertions(+), 6 deletions(-) (limited to '.env.postgresql') 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 -- cgit v1.2.3