self.latest_migration now a property, so we shouldn't __call__ it!
This commit is contained in:
parent
f98be6a65b
commit
9303d47df0
@ -146,7 +146,7 @@ class MigrationManager(object):
|
||||
"""
|
||||
migration_record = self.migration_model(
|
||||
name=self.name,
|
||||
version=self.latest_migration())
|
||||
version=self.latest_migration)
|
||||
self.session.add(migration_record)
|
||||
self.session.commit()
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user