Switch to unified view

a/pyforge/flyway/migrate.py b/pyforge/flyway/migrate.py
...
...
30
    module = None # filled in automatically by Metaclass
30
    module = None # filled in automatically by Metaclass
31
    migrations_registry = {}
31
    migrations_registry = {}
32
    _current_migrations_module = None
32
    _current_migrations_module = None
33
33
34
34
35
    def __init__(self, session):
35
    def __init__(self, session, ormsession):
36
        self.session = session
36
        self.session = session
37
        self.ormsession = ormsession
37
38
38
    def up_requires(self):
39
    def up_requires(self):
39
        return [ (self.module, self.version-1) ]
40
        return [ (self.module, self.version-1) ]
40
41
41
    def down_requires(self):
42
    def down_requires(self):