from mediagoblin.init import get_jinja_loader, get_staticdirector, \
setup_global_and_app_config, setup_workbench
+# This MUST be imported so as to set up the appropriate migrations!
+from mediagoblin.db import migrations
+
class MediaGoblinApp(object):
"""
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(