Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/db/docs
diff options
context:
space:
mode:
Diffstat (limited to 'db/docs')
-rw-r--r--db/docs/achievements.yml6
-rw-r--r--db/docs/activity_pub_releases_subscriptions.yml2
-rw-r--r--db/docs/agent_group_authorizations.yml6
-rw-r--r--db/docs/agent_project_authorizations.yml13
-rw-r--r--db/docs/agent_user_access_group_authorizations.yml13
-rw-r--r--db/docs/ai_agent_versions.yml12
-rw-r--r--db/docs/ai_agents.yml12
-rw-r--r--db/docs/batched_background_migrations/backfill_branch_protection_namespace_setting.yml2
-rw-r--r--db/docs/batched_background_migrations/backfill_issue_search_data_namespace_id.yml8
-rw-r--r--db/docs/batched_background_migrations/backfill_merge_request_diffs_project_id.yml2
-rw-r--r--db/docs/batched_background_migrations/backfill_owasp_top_ten_of_vulnerability_reads.yml8
-rw-r--r--db/docs/batched_background_migrations/backfill_packages_tags_project_id.yml2
-rw-r--r--db/docs/batched_background_migrations/backfill_partition_id_ci_pipeline_artifact.yml9
-rw-r--r--db/docs/batched_background_migrations/backfill_partition_id_ci_pipeline_chat_data.yml9
-rw-r--r--db/docs/batched_background_migrations/backfill_partition_id_ci_pipeline_config.yml9
-rw-r--r--db/docs/batched_background_migrations/backfill_partition_id_ci_pipeline_metadata.yml9
-rw-r--r--db/docs/batched_background_migrations/backfill_user_preferences_with_defaults.yml1
-rw-r--r--db/docs/batched_background_migrations/backfill_users_with_defaults.yml1
-rw-r--r--db/docs/batched_background_migrations/backfill_vs_code_settings_uuid.yml2
-rw-r--r--db/docs/batched_background_migrations/backfill_vs_code_settings_version.yml9
-rw-r--r--db/docs/batched_background_migrations/drop_vulnerabilities_without_finding_id.yml9
-rw-r--r--db/docs/batched_background_migrations/update_workspaces_config_version.yml3
-rw-r--r--db/docs/batched_background_migrations/update_workspaces_config_version3.yml9
-rw-r--r--db/docs/cloud_connector_access.yml8
-rw-r--r--db/docs/compliance_management_frameworks.yml10
-rw-r--r--db/docs/deleted_tables/ci_editor_ai_conversation_messages.yml (renamed from db/docs/ci_editor_ai_conversation_messages.yml)2
-rw-r--r--db/docs/deleted_tables/in_product_marketing_emails.yml (renamed from db/docs/in_product_marketing_emails.yml)2
-rw-r--r--db/docs/external_status_checks.yml10
-rw-r--r--db/docs/integrations.yml1
-rw-r--r--db/docs/ml_model_version_metadata.yml13
-rw-r--r--db/docs/namespace_descendants.yml12
-rw-r--r--db/docs/organization_users.yml2
-rw-r--r--db/docs/project_compliance_framework_settings.yml10
-rw-r--r--db/docs/project_compliance_standards_adherence.yml4
-rw-r--r--db/docs/sbom_source_packages.yml10
-rw-r--r--db/docs/work_item_colors.yml12
-rw-r--r--db/docs/zoekt_enabled_namespaces.yml12
-rw-r--r--db/docs/zoekt_indices.yml12
38 files changed, 261 insertions, 15 deletions
diff --git a/db/docs/achievements.yml b/db/docs/achievements.yml
index 6f471929aea..c0aed4b81f2 100644
--- a/db/docs/achievements.yml
+++ b/db/docs/achievements.yml
@@ -7,4 +7,8 @@ feature_categories:
description: Achievements which can be created by namespaces to award them to users
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/105871
milestone: '15.7'
-gitlab_schema: gitlab_main
+gitlab_schema: gitlab_main_cell
+sharding_key:
+ namespace_id: namespaces
+allow_cross_joins:
+ - gitlab_main_clusterwide # TODO: Exists just for example in specs
diff --git a/db/docs/activity_pub_releases_subscriptions.yml b/db/docs/activity_pub_releases_subscriptions.yml
index 6075847c780..9b4c574b4e7 100644
--- a/db/docs/activity_pub_releases_subscriptions.yml
+++ b/db/docs/activity_pub_releases_subscriptions.yml
@@ -11,3 +11,5 @@ milestone: '16.6'
gitlab_schema: gitlab_main_cell
sharding_key:
project_id: projects
+allow_cross_transactions:
+ - gitlab_main_clusterwide # TODO: Exists just for example in specs
diff --git a/db/docs/agent_group_authorizations.yml b/db/docs/agent_group_authorizations.yml
index f0d45dbdc3d..506f27778c4 100644
--- a/db/docs/agent_group_authorizations.yml
+++ b/db/docs/agent_group_authorizations.yml
@@ -7,4 +7,8 @@ feature_categories:
description: Configuration for a group that is authorized to use a particular cluster agent
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/68023
milestone: '14.3'
-gitlab_schema: gitlab_main
+gitlab_schema: gitlab_main_cell
+sharding_key:
+ group_id: namespaces
+allow_cross_foreign_keys:
+ - gitlab_main_clusterwide # TODO: Exists just for example in specs
diff --git a/db/docs/agent_project_authorizations.yml b/db/docs/agent_project_authorizations.yml
index 77c26571c28..144598b8109 100644
--- a/db/docs/agent_project_authorizations.yml
+++ b/db/docs/agent_project_authorizations.yml
@@ -4,7 +4,16 @@ classes:
- Clusters::Agents::Authorizations::CiAccess::ProjectAuthorization
feature_categories:
- deployment_management
-description: Configuration for a project that is authorized to use a particular cluster agent
+description: Configuration for a project that is authorized to use a particular cluster
+ agent
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/67295
milestone: '14.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/agent_user_access_group_authorizations.yml b/db/docs/agent_user_access_group_authorizations.yml
index cd4df56d5a0..d6982789cff 100644
--- a/db/docs/agent_user_access_group_authorizations.yml
+++ b/db/docs/agent_user_access_group_authorizations.yml
@@ -4,7 +4,16 @@ classes:
- Clusters::Agents::Authorizations::UserAccess::GroupAuthorization
feature_categories:
- deployment_management
-description: Configuration for a group that is authorized to use a particular cluster agent through user_access keyword
+description: Configuration for a group that is authorized to use a particular cluster
+ agent through user_access keyword
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/116901
milestone: '15.11'
-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/ai_agent_versions.yml b/db/docs/ai_agent_versions.yml
new file mode 100644
index 00000000000..91f0d476d3a
--- /dev/null
+++ b/db/docs/ai_agent_versions.yml
@@ -0,0 +1,12 @@
+---
+table_name: ai_agent_versions
+classes:
+- Ai::AgentVersion
+feature_categories:
+- mlops
+description: A version of an AI Agent
+introduced_by_url:
+milestone: '16.8'
+gitlab_schema: gitlab_main_cell
+sharding_key:
+ project_id: projects
diff --git a/db/docs/ai_agents.yml b/db/docs/ai_agents.yml
new file mode 100644
index 00000000000..da3e960d0f1
--- /dev/null
+++ b/db/docs/ai_agents.yml
@@ -0,0 +1,12 @@
+---
+table_name: ai_agents
+classes:
+- Ai::Agent
+feature_categories:
+- mlops
+description: An AI agent definition
+introduced_by_url:
+milestone: '16.8'
+gitlab_schema: gitlab_main_cell
+sharding_key:
+ project_id: projects
diff --git a/db/docs/batched_background_migrations/backfill_branch_protection_namespace_setting.yml b/db/docs/batched_background_migrations/backfill_branch_protection_namespace_setting.yml
index 9a596cb056e..88e012d8d08 100644
--- a/db/docs/batched_background_migrations/backfill_branch_protection_namespace_setting.yml
+++ b/db/docs/batched_background_migrations/backfill_branch_protection_namespace_setting.yml
@@ -6,4 +6,4 @@ introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/136181
milestone: '16.7'
queued_migration_version: 20231107092912
finalize_after: '2024-01-23'
-finalized_by: # version of the migration that ensured this bbm
+finalized_by: 20240104155616
diff --git a/db/docs/batched_background_migrations/backfill_issue_search_data_namespace_id.yml b/db/docs/batched_background_migrations/backfill_issue_search_data_namespace_id.yml
new file mode 100644
index 00000000000..5f4ac80ff65
--- /dev/null
+++ b/db/docs/batched_background_migrations/backfill_issue_search_data_namespace_id.yml
@@ -0,0 +1,8 @@
+---
+migration_job_name: BackfillIssueSearchDataNamespaceId
+description: Backfills issue_search_data.namespace_id from issues.namespace_id. This will be used for repartitioning the table.
+feature_category: team_planning
+introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/128010
+milestone: '16.8'
+queued_migration_version: 20240105144908
+finalize_after: '2024-02-22'
diff --git a/db/docs/batched_background_migrations/backfill_merge_request_diffs_project_id.yml b/db/docs/batched_background_migrations/backfill_merge_request_diffs_project_id.yml
index 54d38942659..62373abcd41 100644
--- a/db/docs/batched_background_migrations/backfill_merge_request_diffs_project_id.yml
+++ b/db/docs/batched_background_migrations/backfill_merge_request_diffs_project_id.yml
@@ -6,4 +6,4 @@ introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/136800
milestone: '16.7'
queued_migration_version: 20231114043522
finalize_after: '2024-04-01'
-finalized_by: # version of the migration that ensured this bbm
+finalized_by: 20231213080216
diff --git a/db/docs/batched_background_migrations/backfill_owasp_top_ten_of_vulnerability_reads.yml b/db/docs/batched_background_migrations/backfill_owasp_top_ten_of_vulnerability_reads.yml
new file mode 100644
index 00000000000..16c505faf1f
--- /dev/null
+++ b/db/docs/batched_background_migrations/backfill_owasp_top_ten_of_vulnerability_reads.yml
@@ -0,0 +1,8 @@
+---
+migration_job_name: BackfillOwaspTopTenOfVulnerabilityReads
+description: Backfills owasp_top_10 column for vulnerability_reads table.
+feature_category: vulnerability_management
+introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/139544
+milestone: '16.8'
+queued_migration_version: 20231214111617
+finalize_after: '2024-1-10'
diff --git a/db/docs/batched_background_migrations/backfill_packages_tags_project_id.yml b/db/docs/batched_background_migrations/backfill_packages_tags_project_id.yml
index 777ca064c0d..be6dff0fcf4 100644
--- a/db/docs/batched_background_migrations/backfill_packages_tags_project_id.yml
+++ b/db/docs/batched_background_migrations/backfill_packages_tags_project_id.yml
@@ -6,4 +6,4 @@ introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/135451
milestone: '16.6'
queued_migration_version: 20231030071209
finalize_after: '2023-12-23'
-finalized_by: # version of the migration that ensured this bbm
+finalized_by: 20231114015857
diff --git a/db/docs/batched_background_migrations/backfill_partition_id_ci_pipeline_artifact.yml b/db/docs/batched_background_migrations/backfill_partition_id_ci_pipeline_artifact.yml
new file mode 100644
index 00000000000..18a4ac13db1
--- /dev/null
+++ b/db/docs/batched_background_migrations/backfill_partition_id_ci_pipeline_artifact.yml
@@ -0,0 +1,9 @@
+---
+migration_job_name: BackfillPartitionIdCiPipelineArtifact
+description: Fixes incorrect values for ci_pipeline_artifacts being in the wrong partition
+feature_category: continuous_integration
+introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/141345
+milestone: '16.8'
+queued_migration_version: 20240109090354
+finalize_after: '2024-01-22'
+finalized_by: # version of the migration that finalized this BBM
diff --git a/db/docs/batched_background_migrations/backfill_partition_id_ci_pipeline_chat_data.yml b/db/docs/batched_background_migrations/backfill_partition_id_ci_pipeline_chat_data.yml
new file mode 100644
index 00000000000..5864ef96ca3
--- /dev/null
+++ b/db/docs/batched_background_migrations/backfill_partition_id_ci_pipeline_chat_data.yml
@@ -0,0 +1,9 @@
+---
+migration_job_name: BackfillPartitionIdCiPipelineChatData
+description: Fixes incorrect values for ci pipeline chat data being in the wrong partition
+feature_category: continuous_integration
+introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/139515
+milestone: '16.8'
+queued_migration_version: 20231218092401
+finalize_after: '2023-12-23'
+finalized_by: 20240104101601
diff --git a/db/docs/batched_background_migrations/backfill_partition_id_ci_pipeline_config.yml b/db/docs/batched_background_migrations/backfill_partition_id_ci_pipeline_config.yml
new file mode 100644
index 00000000000..e51bef28419
--- /dev/null
+++ b/db/docs/batched_background_migrations/backfill_partition_id_ci_pipeline_config.yml
@@ -0,0 +1,9 @@
+---
+migration_job_name: BackfillPartitionIdCiPipelineConfig
+description: Fixes incorrect values for ci_pipelines_config being in the wrong partition
+feature_category: continuous_integration
+introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/141461
+milestone: '16.8'
+queued_migration_version: 20240110090352
+finalize_after: '2024-01-22'
+finalized_by: # version of the migration that finalized this BBM
diff --git a/db/docs/batched_background_migrations/backfill_partition_id_ci_pipeline_metadata.yml b/db/docs/batched_background_migrations/backfill_partition_id_ci_pipeline_metadata.yml
new file mode 100644
index 00000000000..a56fcfd4cca
--- /dev/null
+++ b/db/docs/batched_background_migrations/backfill_partition_id_ci_pipeline_metadata.yml
@@ -0,0 +1,9 @@
+---
+migration_job_name: BackfillPartitionIdCiPipelineMetadata
+description: Fixes incorrect values for ci_pipeline_metadata being in the wrong partition
+feature_category: continuous_integration
+introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/141078
+milestone: '16.8'
+queued_migration_version: 20240108082419
+finalize_after: '2024-01-15'
+finalized_by: # version of the migration that finalized this BBM
diff --git a/db/docs/batched_background_migrations/backfill_user_preferences_with_defaults.yml b/db/docs/batched_background_migrations/backfill_user_preferences_with_defaults.yml
index b95527cc32c..30043317d4c 100644
--- a/db/docs/batched_background_migrations/backfill_user_preferences_with_defaults.yml
+++ b/db/docs/batched_background_migrations/backfill_user_preferences_with_defaults.yml
@@ -4,3 +4,4 @@ description: Backfills the user_preferences table columns with their default val
feature_category: user_profile
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/125774
milestone: '16.4'
+finalized_by: '20231219075929'
diff --git a/db/docs/batched_background_migrations/backfill_users_with_defaults.yml b/db/docs/batched_background_migrations/backfill_users_with_defaults.yml
index 6faa1fbf655..a288dc410a3 100644
--- a/db/docs/batched_background_migrations/backfill_users_with_defaults.yml
+++ b/db/docs/batched_background_migrations/backfill_users_with_defaults.yml
@@ -4,3 +4,4 @@ description: Backfills the users table columns with their default values
feature_category: user_profile
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/125881
milestone: '16.4'
+finalized_by: '20231219075928'
diff --git a/db/docs/batched_background_migrations/backfill_vs_code_settings_uuid.yml b/db/docs/batched_background_migrations/backfill_vs_code_settings_uuid.yml
index 022752a06a7..2ea945c17b5 100644
--- a/db/docs/batched_background_migrations/backfill_vs_code_settings_uuid.yml
+++ b/db/docs/batched_background_migrations/backfill_vs_code_settings_uuid.yml
@@ -5,5 +5,5 @@ feature_category: web_ide
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/138355
milestone: '16.7'
queued_migration_version: 20231130140901
-finalize_after: '2023-12-17'
+finalize_after: '2024-01-31'
finalized_by: # version of the migration that finalized this BBM
diff --git a/db/docs/batched_background_migrations/backfill_vs_code_settings_version.yml b/db/docs/batched_background_migrations/backfill_vs_code_settings_version.yml
new file mode 100644
index 00000000000..0cb3a493823
--- /dev/null
+++ b/db/docs/batched_background_migrations/backfill_vs_code_settings_version.yml
@@ -0,0 +1,9 @@
+---
+migration_job_name: BackfillVsCodeSettingsVersion
+description: Backfills the version column of existing vs_code_settings records
+feature_category: web_ide
+introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/140091
+milestone: '16.8'
+queued_migration_version: 20231212135235
+finalize_after: '2024-01-31'
+finalized_by: # version of the migration that finalized this BBM
diff --git a/db/docs/batched_background_migrations/drop_vulnerabilities_without_finding_id.yml b/db/docs/batched_background_migrations/drop_vulnerabilities_without_finding_id.yml
new file mode 100644
index 00000000000..37e7fae2ea6
--- /dev/null
+++ b/db/docs/batched_background_migrations/drop_vulnerabilities_without_finding_id.yml
@@ -0,0 +1,9 @@
+---
+migration_job_name: DropVulnerabilitiesWithoutFindingId
+description: Remove Vulnerabilities without associated finding_id
+feature_category: vulnerability_management
+introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/140532
+milestone: '16.8'
+queued_migration_version: 20231221223259
+finalize_after: '2024-01-22'
+finalized_by: # version of the migration that finalized this BBM
diff --git a/db/docs/batched_background_migrations/update_workspaces_config_version.yml b/db/docs/batched_background_migrations/update_workspaces_config_version.yml
index ead063ebed6..4ccddd5017a 100644
--- a/db/docs/batched_background_migrations/update_workspaces_config_version.yml
+++ b/db/docs/batched_background_migrations/update_workspaces_config_version.yml
@@ -3,3 +3,6 @@ description: Update config_version to 2 and force_include_all_resources to true
feature_category: remote_development
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/131402
milestone: '16.5'
+queued_migration_version: 20230910120000
+finalize_after: "2023-11-15"
+finalized_by: 20231215151348
diff --git a/db/docs/batched_background_migrations/update_workspaces_config_version3.yml b/db/docs/batched_background_migrations/update_workspaces_config_version3.yml
new file mode 100644
index 00000000000..253feea0469
--- /dev/null
+++ b/db/docs/batched_background_migrations/update_workspaces_config_version3.yml
@@ -0,0 +1,9 @@
+---
+migration_job_name: UpdateWorkspacesConfigVersion3
+description: Update config_version to 3 and force_include_all_resources to true for existing workspaces
+feature_category: remote_development
+introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/140972
+milestone: '16.8'
+queued_migration_version: 20240104085448
+finalize_after: "2024-02-15"
+finalized_by: # version of the migration that finalized this BBM
diff --git a/db/docs/cloud_connector_access.yml b/db/docs/cloud_connector_access.yml
new file mode 100644
index 00000000000..5b0d5046ec0
--- /dev/null
+++ b/db/docs/cloud_connector_access.yml
@@ -0,0 +1,8 @@
+---
+table_name: cloud_connector_access
+feature_categories:
+ - cloud_connector
+description: Information about Cloud Connector features
+introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/140456
+milestone: '16.8'
+gitlab_schema: gitlab_main_clusterwide
diff --git a/db/docs/compliance_management_frameworks.yml b/db/docs/compliance_management_frameworks.yml
index 9a75e43a938..40697a5a28b 100644
--- a/db/docs/compliance_management_frameworks.yml
+++ b/db/docs/compliance_management_frameworks.yml
@@ -7,4 +7,12 @@ feature_categories:
description: TODO
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/44098
milestone: '13.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:
+ namespace_id: namespaces
diff --git a/db/docs/ci_editor_ai_conversation_messages.yml b/db/docs/deleted_tables/ci_editor_ai_conversation_messages.yml
index de4ca6490a6..e37b9bfc75c 100644
--- a/db/docs/ci_editor_ai_conversation_messages.yml
+++ b/db/docs/deleted_tables/ci_editor_ai_conversation_messages.yml
@@ -9,3 +9,5 @@ description: Represents an ai message for a user and project for the pipeline ed
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/119840
milestone: '16.0'
gitlab_schema: gitlab_ci
+removed_in_milestone: '16.8'
+removed_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/139626
diff --git a/db/docs/in_product_marketing_emails.yml b/db/docs/deleted_tables/in_product_marketing_emails.yml
index 8021f4a2634..e36a4546ff4 100644
--- a/db/docs/in_product_marketing_emails.yml
+++ b/db/docs/deleted_tables/in_product_marketing_emails.yml
@@ -7,4 +7,6 @@ feature_categories:
description: TODO
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/55840
milestone: '13.10'
+removed_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/138835
+removed_in_milestone: '16.8'
gitlab_schema: gitlab_main
diff --git a/db/docs/external_status_checks.yml b/db/docs/external_status_checks.yml
index 5f7ea9b5314..c8263d921bf 100644
--- a/db/docs/external_status_checks.yml
+++ b/db/docs/external_status_checks.yml
@@ -7,4 +7,12 @@ feature_categories:
description: Stores project's external status checks
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/62186
milestone: '14.0'
-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/integrations.yml b/db/docs/integrations.yml
index c087d49968a..037dea949d0 100644
--- a/db/docs/integrations.yml
+++ b/db/docs/integrations.yml
@@ -20,6 +20,7 @@ classes:
- Integrations::Confluence
- Integrations::CustomIssueTracker
- Integrations::Datadog
+- Integrations::DiffblueCover
- Integrations::Discord
- Integrations::DroneCi
- Integrations::EmailsOnPush
diff --git a/db/docs/ml_model_version_metadata.yml b/db/docs/ml_model_version_metadata.yml
new file mode 100644
index 00000000000..fbc8cc972dd
--- /dev/null
+++ b/db/docs/ml_model_version_metadata.yml
@@ -0,0 +1,13 @@
+---
+table_name: ml_model_version_metadata
+classes:
+- Ml::ModelVersionMetadata
+feature_categories:
+- mlops
+gitlab_schema: gitlab_main_cell
+description: A Model Version Metadata record holds extra information about the model
+ version
+introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/139975/
+milestone: 16.8
+sharding_key:
+ project_id: projects \ No newline at end of file
diff --git a/db/docs/namespace_descendants.yml b/db/docs/namespace_descendants.yml
new file mode 100644
index 00000000000..995441b8147
--- /dev/null
+++ b/db/docs/namespace_descendants.yml
@@ -0,0 +1,12 @@
+---
+table_name: namespace_descendants
+classes:
+- Namespaces::Descendants
+feature_categories:
+- groups_and_projects
+description: Storing de-normalized descendant ids for Namespace records
+introduced_by_url:
+milestone: '16.8'
+gitlab_schema: gitlab_main_cell
+sharding_key:
+ namespace_id: namespaces
diff --git a/db/docs/organization_users.yml b/db/docs/organization_users.yml
index 6a1ccb7210b..82c91f16957 100644
--- a/db/docs/organization_users.yml
+++ b/db/docs/organization_users.yml
@@ -7,4 +7,4 @@ feature_categories:
description: User who has joined an organization
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/123804
milestone: '16.2'
-gitlab_schema: gitlab_main_clusterwide
+gitlab_schema: gitlab_main_cell
diff --git a/db/docs/project_compliance_framework_settings.yml b/db/docs/project_compliance_framework_settings.yml
index ab68259e87e..3a9d82dfb27 100644
--- a/db/docs/project_compliance_framework_settings.yml
+++ b/db/docs/project_compliance_framework_settings.yml
@@ -7,4 +7,12 @@ feature_categories:
description: TODO
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/28182
milestone: '13.0'
-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/project_compliance_standards_adherence.yml b/db/docs/project_compliance_standards_adherence.yml
index 78fbf8a8a46..0eae8b3fbb6 100644
--- a/db/docs/project_compliance_standards_adherence.yml
+++ b/db/docs/project_compliance_standards_adherence.yml
@@ -1,10 +1,12 @@
---
table_name: project_compliance_standards_adherence
classes:
- - Projects::ComplianceStandards::Adherence
+- Projects::ComplianceStandards::Adherence
feature_categories:
- compliance_management
description: Stores the details about projects and their adherence to compliance standards
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/122293
milestone: '16.1'
gitlab_schema: gitlab_main_cell
+sharding_key:
+ project_id: projects
diff --git a/db/docs/sbom_source_packages.yml b/db/docs/sbom_source_packages.yml
new file mode 100644
index 00000000000..2c0df1df88e
--- /dev/null
+++ b/db/docs/sbom_source_packages.yml
@@ -0,0 +1,10 @@
+---
+table_name: sbom_source_packages
+classes:
+- Sbom::SourcePackage
+feature_categories:
+- dependency_management
+description: Tracks Source Package of an SBOM Occurrence
+introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/140539
+milestone: '16.8'
+gitlab_schema: gitlab_main
diff --git a/db/docs/work_item_colors.yml b/db/docs/work_item_colors.yml
new file mode 100644
index 00000000000..f0908e92181
--- /dev/null
+++ b/db/docs/work_item_colors.yml
@@ -0,0 +1,12 @@
+---
+table_name: work_item_colors
+classes:
+- WorkItems::Color
+feature_categories:
+- team_planning
+description: The color of a Work Item.
+introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/140331
+milestone: '16.8'
+gitlab_schema: gitlab_main_cell
+sharding_key:
+ namespace_id: namespaces
diff --git a/db/docs/zoekt_enabled_namespaces.yml b/db/docs/zoekt_enabled_namespaces.yml
new file mode 100644
index 00000000000..c6997154bc2
--- /dev/null
+++ b/db/docs/zoekt_enabled_namespaces.yml
@@ -0,0 +1,12 @@
+---
+table_name: zoekt_enabled_namespaces
+classes:
+ - Search::Zoekt::EnabledNamespace
+feature_categories:
+ - global_search
+description: Represents a root namespace that has zoekt enabled
+introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/138992
+milestone: '16.8'
+gitlab_schema: gitlab_main_cell
+sharding_key:
+ root_namespace_id: namespaces
diff --git a/db/docs/zoekt_indices.yml b/db/docs/zoekt_indices.yml
new file mode 100644
index 00000000000..7cc5baa0a5c
--- /dev/null
+++ b/db/docs/zoekt_indices.yml
@@ -0,0 +1,12 @@
+---
+table_name: zoekt_indices
+classes:
+ - Search::Zoekt::Index
+feature_categories:
+ - global_search
+description: Represents a zoekt index for a root namespace
+introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/138992
+milestone: '16.8'
+gitlab_schema: gitlab_main_cell
+sharding_key:
+ namespace_id: namespaces