equal
deleted
inserted
replaced
261 |
261 |
262 @cached |
262 @cached |
263 def _create_context(self): |
263 def _create_context(self): |
264 """return a dictionary to use as migration script execution context""" |
264 """return a dictionary to use as migration script execution context""" |
265 context = super(ServerMigrationHelper, self)._create_context() |
265 context = super(ServerMigrationHelper, self)._create_context() |
266 context.update({'checkpoint': self.checkpoint, |
266 context.update({'commit': self.checkpoint, |
|
267 'checkpoint': deprecated('[3.6] use commit')(self.checkpoint), |
267 'sql': self.sqlexec, |
268 'sql': self.sqlexec, |
268 'rql': self.rqlexec, |
269 'rql': self.rqlexec, |
269 'rqliter': self.rqliter, |
270 'rqliter': self.rqliter, |
270 'schema': self.repo.get_schema(), |
271 'schema': self.repo.get_schema(), |
271 'cnx': self.cnx, |
272 'cnx': self.cnx, |