Skip to content

Add sharding keys and update schema for security policy tables

What does this MR do and why?

!146504 (merged) introduced new tables for persisting security policies to the database, but the MR missed to assign the gitlab_main_cell schema and lacked sharding keys.

Both tables are empty and behind a disabled feature flag:

MR acceptance checklist

Please 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 #452380

Edited by Dominic Bauer

Merge request reports