Commit that new migration record ;)
authorChristopher Allan Webber <cwebber@dustycloud.org>
Mon, 2 Jan 2012 19:36:19 +0000 (13:36 -0600)
committerChristopher Allan Webber <cwebber@dustycloud.org>
Sun, 29 Jan 2012 22:33:45 +0000 (16:33 -0600)
mediagoblin/db/sql/util.py

index a42d992f04240142708a0c8bbfa10b76b5a2d01a..61ba1b4532998ea40fe66a4a65a17a32ffc936fa 100644 (file)
@@ -140,6 +140,7 @@ class MigrationManager(object):
         self.migration_model(
             name=self.name,
             version=self.latest_migration())
+        self.database.commit()
 
     def dry_run(self):
         """