Not sure why there wasn't a .commit() at the end of add_new_notification_tables()
authorChristopher Allan Webber <cwebber@dustycloud.org>
Thu, 22 Aug 2013 21:04:19 +0000 (16:04 -0500)
committerChristopher Allan Webber <cwebber@dustycloud.org>
Thu, 22 Aug 2013 21:04:19 +0000 (16:04 -0500)
... but it seems like there should be and it wouldn't hurt.

This commit sponsored by Julio Claudio Matus Ramirez.  Thank you!

mediagoblin/db/migrations.py

index d542d7b935e573df66444a36527d6e832c23760c..62fb7e8dd3026b848c77bd4929d62744d0970e93 100644 (file)
@@ -365,6 +365,8 @@ def add_new_notification_tables(db):
     CommentNotification_v0.__table__.create(db.bind)
     ProcessingNotification_v0.__table__.create(db.bind)
 
+    db.commit()
+
 
 @RegisterMigration(13, MIGRATIONS)
 def pw_hash_nullable(db):