server/migractions.py
changeset 4330 cb7b68679501
parent 4252 6c4f109c2b03
child 4339 fe93b670343d
--- a/server/migractions.py	Fri Jan 22 11:40:09 2010 +0100
+++ b/server/migractions.py	Fri Jan 22 11:40:22 2010 +0100
@@ -264,6 +264,7 @@
         """return a dictionary to use as migration script execution context"""
         context = super(ServerMigrationHelper, self)._create_context()
         context.update({'commit': self.checkpoint,
+                        'rollback': self.rollback,
                         'checkpoint': deprecated('[3.6] use commit')(self.checkpoint),
                         'sql': self.sqlexec,
                         'rql': self.rqlexec,