diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2023-08-18 13:50:51 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2023-08-18 13:50:51 +0300 |
commit | db384e6b19af03b4c3c82a5760d83a3fd79f7982 (patch) | |
tree | 34beaef37df5f47ccbcf5729d7583aae093cffa0 /config/gitlab_loose_foreign_keys.yml | |
parent | 54fd7b1bad233e3944434da91d257fa7f63c3996 (diff) |
Add latest changes from gitlab-org/gitlab@16-3-stable-eev16.3.0-rc42
Diffstat (limited to 'config/gitlab_loose_foreign_keys.yml')
-rw-r--r-- | config/gitlab_loose_foreign_keys.yml | 48 |
1 files changed, 38 insertions, 10 deletions
diff --git a/config/gitlab_loose_foreign_keys.yml b/config/gitlab_loose_foreign_keys.yml index dfc4861d1f7..bf99eeceb2d 100644 --- a/config/gitlab_loose_foreign_keys.yml +++ b/config/gitlab_loose_foreign_keys.yml @@ -22,16 +22,6 @@ ci_build_report_results: - table: projects column: project_id on_delete: async_delete -ci_builds: - - table: users - column: user_id - on_delete: async_nullify - - table: projects - column: project_id - on_delete: async_delete - - table: ci_runners - column: runner_id - on_delete: async_nullify ci_daily_build_group_report_results: - table: namespaces column: group_id @@ -207,6 +197,9 @@ dast_scanner_profiles_builds: - table: ci_builds column: ci_build_id on_delete: async_delete + - table: p_ci_builds + column: ci_build_id + on_delete: async_delete dast_scanner_profiles_tags: - table: tags column: tag_id @@ -215,6 +208,9 @@ dast_site_profiles_builds: - table: ci_builds column: ci_build_id on_delete: async_delete + - table: p_ci_builds + column: ci_build_id + on_delete: async_delete dast_site_profiles_pipelines: - table: ci_pipelines column: ci_pipeline_id @@ -247,10 +243,23 @@ ml_candidates: - table: ci_builds column: ci_build_id on_delete: async_nullify + - table: p_ci_builds + column: ci_build_id + on_delete: async_nullify namespaces: - table: organizations column: organization_id on_delete: async_nullify +p_ci_builds: + - table: users + column: user_id + on_delete: async_nullify + - table: projects + column: project_id + on_delete: async_delete + - table: ci_runners + column: runner_id + on_delete: async_nullify p_ci_builds_metadata: - table: projects column: project_id @@ -271,10 +280,16 @@ pages_deployments: - table: ci_builds column: ci_build_id on_delete: async_nullify + - table: p_ci_builds + column: ci_build_id + on_delete: async_nullify requirements_management_test_reports: - table: ci_builds column: build_id on_delete: async_nullify + - table: p_ci_builds + column: build_id + on_delete: async_nullify sbom_occurrences: - table: ci_pipelines column: pipeline_id @@ -283,10 +298,23 @@ security_scans: - table: ci_builds column: build_id on_delete: async_delete + - table: p_ci_builds + column: build_id + on_delete: async_delete terraform_state_versions: - table: ci_builds column: ci_build_id on_delete: async_nullify + - table: p_ci_builds + column: ci_build_id + on_delete: async_nullify +user_details: + - table: namespaces + column: provisioned_by_group_id + on_delete: async_nullify + - table: namespaces + column: enterprise_group_id + on_delete: async_nullify vulnerability_feedback: - table: ci_pipelines column: pipeline_id |