Change the validation of approval merge request rule
What does this MR do and why?
We added a new applicable_post_merge column to the approval_merge_request_rules table, which will be used to decide what rules to show post merge. We need this to be considered when validating the any_approver rule.
A follow up MR will drop the old index: !134155 (merged)
New Validation Query:
https://console.postgres.ai/gitlab/gitlab-production-tunnel-pg12/sessions/23025/commands/74145
Edited by Marc Shaw