diff options
author | Christopher Allan Webber <cwebber@dustycloud.org> | 2011-07-14 00:32:01 -0500 |
---|---|---|
committer | Christopher Allan Webber <cwebber@dustycloud.org> | 2011-07-14 00:32:01 -0500 |
commit | 90e342f90ffc59991e040645938521a0a5ba050d (patch) | |
tree | de40909ae6558be2e1a89e1d42a58c0fbf48e4f0 /mediagoblin/gmg_commands | |
parent | 5ebe69e5a0cdaf7e27d485624465834eb3132c13 (diff) | |
download | mediagoblin-90e342f90ffc59991e040645938521a0a5ba050d.tar.lz mediagoblin-90e342f90ffc59991e040645938521a0a5ba050d.tar.xz mediagoblin-90e342f90ffc59991e040645938521a0a5ba050d.zip |
app.py and migrate.py must import migrations in order to load said migrations...
Diffstat (limited to 'mediagoblin/gmg_commands')
-rw-r--r-- | mediagoblin/gmg_commands/migrate.py | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/mediagoblin/gmg_commands/migrate.py b/mediagoblin/gmg_commands/migrate.py index e8d43a1f..94adc9e0 100644 --- a/mediagoblin/gmg_commands/migrate.py +++ b/mediagoblin/gmg_commands/migrate.py @@ -16,11 +16,13 @@ import sys -from mediagoblin.db import migrations from mediagoblin.db import util as db_util from mediagoblin.db.open import setup_connection_and_db_from_config from mediagoblin.init.config import read_mediagoblin_config +# This MUST be imported so as to set up the appropriate migrations! +from mediagoblin.db import migrations + def migrate_parser_setup(subparser): subparser.add_argument( |