try {
ERXMigrationAction migrationAction = new ERXMigrationAction(editingContext, migration, modelVersion, migrationLock, _lockOwnerName, postMigrations);
try {
ERXSQLHelper helper = ERXSQLHelper.newSQLHelper(model);
try {
helper.prepareConnectionForSchemaChange(editingContext, model);
migrationAction.perform(editingContext, model.name());
}
finally {
helper.restoreConnectionSettingsAfterSchemaChange(editingContext, model);
}