From 5a048dfc637e918f54381a02879107c387d13ed0 Mon Sep 17 00:00:00 2001 From: Rasmus Luha Date: Wed, 9 Mar 2022 15:00:11 +0200 Subject: Heroku why u do dis --- app/database.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/app/database.py b/app/database.py index 1abafa0..3edda36 100644 --- a/app/database.py +++ b/app/database.py @@ -6,7 +6,8 @@ from time import sleep import psycopg2 #Library to connect to postgres from .config import settings -SQLALCHEMY_DATABASE_URL = f'postgresql://{settings.database_username}:{settings.database_password}@{settings.database_hostname}:{settings.database_port}/{settings.database_name}' +#SQLALCHEMY_DATABASE_URL = f'postgresql://{settings.database_username}:{settings.database_password}@{settings.database_hostname}:{settings.database_port}/{settings.database_name}' +SQLALCHEMY_DATABASE_URL = "postgres://zgziodukncnnof:bb1176f2961766e2d5edf439b0889f1cbb52288983ea073e94ef387ddb3e5d59@ec2-18-215-8-186.compute-1.amazonaws.com:5432/dfhqvfedeess9u" engine = create_engine(SQLALCHEMY_DATABASE_URL) -- cgit v1.2.3