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.
This commit is contained in:
@@ -26,7 +26,7 @@ from sqlalchemy.sql import select, insert
|
||||
from migrate import changeset
|
||||
|
||||
from mediagoblin.db.base import GMGTableBase
|
||||
from mediagoblin.db.util import MigrationManager, RegisterMigration
|
||||
from mediagoblin.db.sql.migration_tools import MigrationManager, RegisterMigration
|
||||
from mediagoblin.tools.common import CollectingPrinter
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user