typo fix: Set sqlalchemy.url, not qlalchemy.url
authorChristopher Allan Webber <cwebber@dustycloud.org>
Thu, 3 Mar 2016 00:08:12 +0000 (16:08 -0800)
committerChristopher Allan Webber <cwebber@dustycloud.org>
Thu, 3 Mar 2016 00:08:12 +0000 (16:08 -0800)
mediagoblin/db/migration_tools.py

index a28b3db0f7afc2bdab388f5708aff626fe912896..bd24289453e33a110b718406cb00887d56ffec14 100644 (file)
@@ -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)