diff -r 5c5d819e8e93 -r df9cafb8062c migration.py --- a/migration.py Fri Jul 30 09:52:46 2010 +0200 +++ b/migration.py Fri Jul 30 11:11:08 2010 +0200 @@ -340,6 +340,7 @@ elif script_mode == 'sql': from cubicweb.server.sqlutils import sqlexec sqlexec(open(migrscript).read(), self.session.system_sql) + self.commit() else: # script_mode == 'doctest' import doctest doctest.testfile(migrscript, module_relative=False,