Skip to content

Use update_column instead of update!

Ash McKenzie requested to merge 432053-use-update-column-instead into master

What does this MR do and why?

This MR replaces the project.update!(repository_storage: destination_storage_name) call with project.update_column(:repository_storage, destination_storage_name) from Ensure repository set to writable after moving ... (!136318 - merged).

MR acceptance checklist

This checklist encourages us to confirm any changes have been analyzed to reduce risks in quality, performance, reliability, security, and maintainability.

Related to #432053

Edited by Ash McKenzie

Merge request reports