From e455618fecdf70c33e6f956d95830a31861683e5 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?F=C3=A9lix=20MIELCAREK?= <94568134+felixmielcarek@users.noreply.github.com> Date: Wed, 15 May 2024 19:49:28 +0200 Subject: [PATCH] Update db-creation.py --- database/db-creation.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/database/db-creation.py b/database/db-creation.py index 579c6c4..e6f6c36 100644 --- a/database/db-creation.py +++ b/database/db-creation.py @@ -6,7 +6,7 @@ env_user = os.getenv('POSTGRES_USER') env_password = os.getenv('POSTGRES_PASSWORD') # Establish connection to the PostgreSQL database -conn = psycopg2.connect(dbname=env_dbname, user=env_user, password=env_password, host="felixmielcarek-bigbrotherdb") +conn = psycopg2.connect(dbname="postgres", user=env_user, password=env_password, host="felixmielcarek-bigbrotherdb") # Create a cursor object to execute SQL queries cur = conn.cursor()