--- a/pyforge/flyway/migrate.py
+++ b/pyforge/flyway/migrate.py
@@ -16,10 +16,6 @@
cls.migrations_registry[
cls._current_migrations_module, cls.version] = cls
cls.module = cls._current_migrations_module
-
- def get(cls, module, version):
- '''Load a Migration class from the registry'''
- return cls.migrations_registry[module, version]
def latest_versions(cls):
result = {}
@@ -51,11 +47,11 @@
def down_postcondition(self):
return { self.module: self.version-1 }
- def up(self):
+ def up(self): # pragma no cover
'''Upgrade to a new schema version'''
raise NotImplementedError, 'up'
- def down(self):
+ def down(self): # pragma no cover
'''Downgrade from this schema version (undo an 'up') '''
raise NotImplementedError, 'down'