diff --git a/db/docs/cluster_agents.yml b/db/docs/cluster_agents.yml index 237d8d23bfd7bfdac0bf27478e84d7acd2d50413..1c8417613cf727ca0a2e8cbea1037dc9742f6e5f 100644 --- a/db/docs/cluster_agents.yml +++ b/db/docs/cluster_agents.yml @@ -7,4 +7,12 @@ feature_categories: description: Represents a GitLab Agent for Kubernetes installed in a Kubernetes cluster introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/33228 milestone: '13.3' -gitlab_schema: gitlab_main +gitlab_schema: gitlab_main_cell +allow_cross_joins: +- gitlab_main_clusterwide +allow_cross_transactions: +- gitlab_main_clusterwide +allow_cross_foreign_keys: +- gitlab_main_clusterwide +sharding_key: + project_id: projects diff --git a/db/docs/cluster_enabled_grants.yml b/db/docs/cluster_enabled_grants.yml index 59f896f198dfab3c0c0569da6fd737f8c9df43cb..7c89d5626087b0c940c91f7a77996702a1cf369c 100644 --- a/db/docs/cluster_enabled_grants.yml +++ b/db/docs/cluster_enabled_grants.yml @@ -4,7 +4,10 @@ classes: - Clusters::ClusterEnabledGrant feature_categories: - deployment_management -description: Persists information about namespaces which got an extended life for certificate based clusters +description: Persists information about namespaces which got an extended life for + certificate based clusters introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/87149 milestone: '15.1' gitlab_schema: gitlab_main_cell +sharding_key: + namespace_id: namespaces diff --git a/db/docs/cluster_groups.yml b/db/docs/cluster_groups.yml index 70c11431acfc0090adae672abb60b8ccbcd265c1..ddc157644199ef9605d8146de8662959e602abb7 100644 --- a/db/docs/cluster_groups.yml +++ b/db/docs/cluster_groups.yml @@ -7,4 +7,12 @@ feature_categories: description: "(Deprecated) Join table between 'clusters' and 'namespaces'" introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/0e15eec86d83cbdfefe17966bf5c02e4d419a34d milestone: '11.5' -gitlab_schema: gitlab_main +gitlab_schema: gitlab_main_cell +allow_cross_joins: +- gitlab_main_clusterwide +allow_cross_transactions: +- gitlab_main_clusterwide +allow_cross_foreign_keys: +- gitlab_main_clusterwide +sharding_key: + group_id: namespaces diff --git a/db/docs/cluster_projects.yml b/db/docs/cluster_projects.yml index 152b60ea87bcdf0f10fc4bd8c24618cce57ca6f0..1313e5938d440f939b15c5a082415ed943fbc6d6 100644 --- a/db/docs/cluster_projects.yml +++ b/db/docs/cluster_projects.yml @@ -7,4 +7,12 @@ feature_categories: description: "(Deprecated) Join table between 'clusters' and 'projects'" introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/commit/d0cff7f5855f91b5479f9fdaa39d8d95ec691a9e milestone: '10.2' -gitlab_schema: gitlab_main +gitlab_schema: gitlab_main_cell +allow_cross_joins: +- gitlab_main_clusterwide +allow_cross_transactions: +- gitlab_main_clusterwide +allow_cross_foreign_keys: +- gitlab_main_clusterwide +sharding_key: + project_id: projects