mirror of
https://github.com/PaiGramTeam/PamGram.git
synced 2024-11-16 03:55:26 +00:00
🐛 Fix SQLAlchemy URL Passing Error
This commit is contained in:
parent
9b19acadc2
commit
434ee0aeaa
@ -72,7 +72,7 @@ if sqlalchemy_url is None:
|
||||
port=application_config.database.port,
|
||||
database=application_config.database.database,
|
||||
)
|
||||
alembic_cfg.set_main_option("sqlalchemy.url", str(new_url))
|
||||
alembic_cfg.set_main_option("sqlalchemy.url", new_url.render_as_string(hide_password=False))
|
||||
|
||||
|
||||
def run_migrations_offline() -> None:
|
||||
|
Loading…
Reference in New Issue
Block a user