Add sharding key to label_links table

What does this MR do and why?

Add column and start setting it on the ActiveRecord model. First step into discovering why we have so many orphaned records. If orphaned records have a namespace_id set after this change, it means that records are becoming orphans after they are initially created

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.

Related to #514599 (closed)

Edited by Mario Celi

Merge request reports

Loading