typo fix: Set sqlalchemy.url, not qlalchemy.url
This commit is contained in:
parent
af6b89eafe
commit
a48736fc09
@ -47,7 +47,7 @@ class AlembicMigrationManager(object):
|
||||
self.alembic_cfg = Config(alembic_cfg_path)
|
||||
|
||||
self.alembic_cfg.attributes["session"] = self.session
|
||||
self.alembic_cfg.set_main_option("qlalchemy.url", str(self.engine.url))
|
||||
self.alembic_cfg.set_main_option("sqlalchemy.url", str(self.engine.url))
|
||||
|
||||
def get_current_revision(self):
|
||||
context = MigrationContext.configure(self.session.bind)
|
||||
|
Loading…
x
Reference in New Issue
Block a user