another db -> db.bind fix.
authorChristopher Allan Webber <cwebber@dustycloud.org>
Sun, 29 Jan 2012 23:00:39 +0000 (17:00 -0600)
committerChristopher Allan Webber <cwebber@dustycloud.org>
Sun, 29 Jan 2012 23:00:39 +0000 (17:00 -0600)
mediagoblin/db/sql/util.py

index 604ea19c1cbcb6aee3dc84e67b1fbb998ad8d8ff..87234019929d76450fdbe1986e7c83797019320d 100644 (file)
@@ -261,4 +261,4 @@ def assure_migrations_table_setup(db):
 
     if not MigrationData.__table__.exists(db.bind):
         MigrationData.metadata.create_all(
-            db, tables=[MigrationData.__table__])
+            db.bind, tables=[MigrationData.__table__])