Change terraform_states.locked_by_user_id foreign key to SET NULL
Fixes an edge case where a user could not be deleted if they held a lock (in the Terraform sense, not a database lock) on a Terraform state, as it would violate the foreign key constraint. https://gitlab.com/gitlab-org/gitlab/-/merge_requests/55813
Showing
Please register or sign in to comment