diff options
author | Christopher Allan Webber <cwebber@dustycloud.org> | 2012-01-02 14:56:05 -0600 |
---|---|---|
committer | Christopher Allan Webber <cwebber@dustycloud.org> | 2012-01-29 16:33:45 -0600 |
commit | dc5da0f891895c79f29be05df1e14035b080dcdc (patch) | |
tree | 49dfb1808394ae67b96e72075e3641f5e9c88e2e | |
parent | bf81382896e98e5a7c3dcd426ee8c73fe9ef84a6 (diff) | |
download | mediagoblin-dc5da0f891895c79f29be05df1e14035b080dcdc.tar.lz mediagoblin-dc5da0f891895c79f29be05df1e14035b080dcdc.tar.xz mediagoblin-dc5da0f891895c79f29be05df1e14035b080dcdc.zip |
Another MigrationManager fix.
self.database -> self.database.engine (thanks again Elrond for the catch)
-rw-r--r-- | mediagoblin/db/sql/util.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mediagoblin/db/sql/util.py b/mediagoblin/db/sql/util.py index 604f040c..0911884e 100644 --- a/mediagoblin/db/sql/util.py +++ b/mediagoblin/db/sql/util.py @@ -127,7 +127,7 @@ class MigrationManager(object): assert not model.__table__.exists(self.database) self.migration_model.metadata.create_all( - self.database, + self.database.engine, tables=[model.__table__ for model in self.models]) def create_new_migration_record(self): |