mirror of
https://github.com/PaiGramTeam/PaiGram.git
synced 2024-11-25 09:37:30 +00:00
🐛 Fix SQLAlchemy URL Passing Error
This commit is contained in:
parent
b467408ff9
commit
7eee4fa29d
@ -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