Skip to content
代码片段 群组 项目
未验证 提交 7cd59441 编辑于 作者: Kassio Borges's avatar Kassio Borges 提交者: GitLab
浏览文件

Add missing sharding keys

上级 758f77c0
No related branches found
No related tags found
无相关合并请求
......@@ -8,3 +8,12 @@ description: Stores ACME order information used in obtaining Let's Encrypt certi
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/14014
milestone: '12.0'
gitlab_schema: gitlab_main
desired_sharding_key:
project_id:
references: projects
backfill_via:
parent:
foreign_key: pages_domain_id
table: pages_domains
sharding_key: project_id
belongs_to: pages_domain
......@@ -8,3 +8,5 @@ description: Store Pages domain, certificate and encryption meta data.
introduced_by_url: https://gitlab.com/gitlab-org/gitlab/-/merge_requests/173
milestone: '8.5'
gitlab_schema: gitlab_main
sharding_key:
project_id: projects
......@@ -21,7 +21,8 @@
[
*tables_with_alternative_not_null_constraint,
'labels.project_id', # https://gitlab.com/gitlab-org/gitlab/-/issues/434356
'labels.group_id' # https://gitlab.com/gitlab-org/gitlab/-/issues/434356
'labels.group_id', # https://gitlab.com/gitlab-org/gitlab/-/issues/434356
'pages_domains.project_id' # https://gitlab.com/gitlab-org/gitlab/-/issues/442178
]
end
......
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册