diff --git a/mediagoblin/db/sql/migrations.py b/mediagoblin/db/sql/migrations.py index 453801a5..d6b709b2 100644 --- a/mediagoblin/db/sql/migrations.py +++ b/mediagoblin/db/sql/migrations.py @@ -33,6 +33,7 @@ def ogg_to_webm_audio(db_conn): file_keynames.update().where(file_keynames.c.name == 'ogg'). values(name='webm_audio') ) + db_conn.commit() @RegisterMigration(2, MIGRATIONS) @@ -45,3 +46,4 @@ def add_wants_notification_column(db_conn): col = Column('wants_comment_notification', Boolean, default=True, nullable=True) col.create(users, populate_defaults=True) + db_conn.commit()