Changed dependency management to poetry (#1)
Co-authored-by: pptx704 <rafeedm.bhuiyan@gmail.com> Reviewed-on: #1
This commit is contained in:
@ -5,13 +5,13 @@ from sqlalchemy import pool
|
||||
|
||||
from alembic import context
|
||||
|
||||
from app.const import SQLALCHEMY_DATABASE_URL
|
||||
from app.settings 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", SQLALCHEMY_DATABASE_URL)
|
||||
config.set_main_option("sqlalchemy.url", settings.SQLALCHEMY_DATABASE_URL)
|
||||
# Interpret the config file for Python logging.
|
||||
# This line sets up loggers basically.
|
||||
if config.config_file_name is not None:
|
||||
|
||||
Reference in New Issue
Block a user