diff options
Diffstat (limited to 'alembic/env.py')
-rw-r--r-- | alembic/env.py | 11 |
1 files changed, 8 insertions, 3 deletions
diff --git a/alembic/env.py b/alembic/env.py index acb3a7a..3a90171 100644 --- a/alembic/env.py +++ b/alembic/env.py @@ -12,9 +12,14 @@ from app.config import settings # this is the Alembic Config object, which provides # access to the values within the .ini file in use. config = context.config -config.set_main_option("sqlalchemy.url", f'postgresql+psycopg2://{settings.database_username}:\ - {settings.database_password}@{settings.database_hostname}:{settings.database_port}\ - /{settings.database_name}') + +#config.set_main_option("sqlalchemy.url", f'postgresql+psycopg2://{settings.database_username}:\ +# {settings.database_password}@{settings.database_hostname}:{settings.database_port}\ +# /{settings.database_name}') + +config.set_main_option("sqlalchemy.url", f'postgresql+psycopg2://zgziodukncnnof:\ + bb1176f2961766e2d5edf439b0889f1cbb52288983ea073e94ef387ddb3e5d59@\ + ec2-18-215-8-186.compute-1.amazonaws.com:5432/dfhqvfedeess9u') # Interpret the config file for Python logging. # This line sets up loggers basically. |