Validate Foreign Keys for organization_users

What does this MR do and why?

This MR follows the recommended procedure for async validation of foreign keys.

This will schedule a validation of these foreign keys:

  • organization_users.user_id
  • organization_users.organization_id

The actual validation is run sequentially

After the validation ran successfully, a follow-up MR will be created for dropping NOT VALID from the foreign key definition in db/structure.sql

References

Related to #493506 (closed)

MR acceptance checklist

Evaluate this MR against the MR acceptance checklist. It helps you analyze changes to reduce risks in quality, performance, reliability, security, and maintainability.

Edited by Rutger Wessels

Merge request reports

Loading