Skip to content

Remove old member namespace id fk

Serena Fang requested to merge member_namespace_id_fk_removal into master

What does this MR do and why?

Describe in detail what your merge request does and why.

#377433 (comment 1139215782)

  • Migration file 1: Re-add the check constraint (not valid). !102843 (merged)
  • Migration file 2: Fix the 453 (maybe we get some extra records here due to the missing CHECK constraint) records by backfilling the data or removing the member records (inline). !99080 (merged)
  • Migration file 3: Validate the check constraint and the FK (fk_2f85abf8f1). !97767 (closed)
  • Migration file 4: Drop the FK with the SET NULL clause (fk_aa82dcc1c6). <- this MR

Screenshots or screen recordings

Screenshots are required for UI changes, and strongly recommended for all other merge requests.

How to set up and validate locally

Numbered steps to set up and validate the change are strongly suggested.

MR acceptance checklist

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

Edited by Serena Fang

Merge request reports