Commit 8bb0cff3 authored by Alper Akgun's avatar Alper Akgun

Merge branch '348272-add-some-ci-pipelines-loose-foreign-keys' into 'master'

Adding more loose foreign keys for ci_pipelines from merge_requests, vulnerability_statistics, vulnerability_occurrence_pipelines

See merge request gitlab-org/gitlab!77323
parents 64027bac 989ecb66
......@@ -43,6 +43,18 @@ ci_project_mirrors:
- table: namespaces
column: namespace_id
on_delete: async_delete
merge_requests:
- table: ci_pipelines
column: head_pipeline_id
on_delete: async_nullify
vulnerability_statistics:
- table: ci_pipelines
column: latest_pipeline_id
on_delete: async_nullify
vulnerability_occurrence_pipelines:
- table: ci_pipelines
column: pipeline_id
on_delete: async_delete
packages_build_infos:
- table: ci_pipelines
column: pipeline_id
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment