Skip to content

Fix missing WHERE clause in 20171106135924_issues_milestone_id_foreign_key migration

Stan Hu requested to merge sh-fix-milestone-id-migration into master

If milestone_id is NULL, we shouldn't need to update it to be NULL again. This was causing us to touch almost all rows in the issues table for no good reason.

Closes https://gitlab.com/gitlab-com/infrastructure/issues/3416

Merge request reports