Skip to content

Cells: Convert FKs between `projects ` and `users` to LFKs

What does this MR do and why?

projects is a main_cell table now, and users is a main_clusterwide table.

Since these tables belong to 2 different databases now, any foreign keys that exists between these 2 tables should be converted to Loose foreign keys, which is what this MR does.

This MR converts:

  • projects.creator_id
  • projects.marked_for_deletion_by_user_id

to loose foreign keys.

Screenshots or screen recordings

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

Before After

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.

Related to #421844 (closed)

Edited by Manoj M J

Merge request reports