diff options
author | Rasmus Luha <rasmus.luha@gmail.com> | 2022-03-09 15:00:11 +0200 |
---|---|---|
committer | Rasmus Luha <rasmus.luha@gmail.com> | 2022-03-09 15:00:11 +0200 |
commit | 5a048dfc637e918f54381a02879107c387d13ed0 (patch) | |
tree | 9098c0e8dde253b8237c1075e63c979099056d98 /app/database.py | |
parent | ae6897276df58d656bfc398d3cf36e25fa047bf0 (diff) |
Heroku why u do dis
Diffstat (limited to 'app/database.py')
-rw-r--r-- | app/database.py | 3 |
1 files changed, 2 insertions, 1 deletions
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) |