aboutsummaryrefslogtreecommitdiffstats
path: root/mediagoblin/gmg_commands/dbupdate.py
diff options
context:
space:
mode:
authorElrond <elrond+mediagoblin.org@samba-tng.org>2012-12-13 12:31:47 +0100
committerElrond <elrond+mediagoblin.org@samba-tng.org>2013-01-08 22:50:01 +0100
commita050e776c6d9c4970dd241e92b2f24a8c9deb36d (patch)
tree6acd0f05aa02dfcc7f4781bfc6c3219732690a45 /mediagoblin/gmg_commands/dbupdate.py
parent8e7354ef2bc08531b7e733bea44835f016b3e821 (diff)
downloadmediagoblin-a050e776c6d9c4970dd241e92b2f24a8c9deb36d.tar.lz
mediagoblin-a050e776c6d9c4970dd241e92b2f24a8c9deb36d.tar.xz
mediagoblin-a050e776c6d9c4970dd241e92b2f24a8c9deb36d.zip
Move all the migration tools into new migration_tools.py
Factor all the migration related stuff out into a new .db.sql.migration_tools. First we don't have to load this module for our normal server. Second it makes all the import dependencies a little more cleaner.
Diffstat (limited to 'mediagoblin/gmg_commands/dbupdate.py')
-rw-r--r--mediagoblin/gmg_commands/dbupdate.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/mediagoblin/gmg_commands/dbupdate.py b/mediagoblin/gmg_commands/dbupdate.py
index 5151ba9d..dadb79c7 100644
--- a/mediagoblin/gmg_commands/dbupdate.py
+++ b/mediagoblin/gmg_commands/dbupdate.py
@@ -19,7 +19,7 @@ import logging
from sqlalchemy.orm import sessionmaker
from mediagoblin.db.open import setup_connection_and_db_from_config
-from mediagoblin.db.util import MigrationManager
+from mediagoblin.db.sql.migration_tools import MigrationManager
from mediagoblin.init import setup_global_and_app_config
from mediagoblin.tools.common import import_component