We should probably add that object to the DB also :P
This commit is contained in:
parent
09dcc34c95
commit
23f4c6b2fd
@ -137,9 +137,10 @@ class MigrationManager(object):
|
||||
"""
|
||||
Create a new migration record for this migration set
|
||||
"""
|
||||
self.migration_model(
|
||||
migration_record = self.migration_model(
|
||||
name=self.name,
|
||||
version=self.latest_migration())
|
||||
self.database.add(migration_record)
|
||||
self.database.commit()
|
||||
|
||||
def dry_run(self):
|
||||
|
Loading…
x
Reference in New Issue
Block a user