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
diff options
context:
space:
mode:
Diffstat (limited to 'config/gitlab_loose_foreign_keys.yml')
-rw-r--r--config/gitlab_loose_foreign_keys.yml24
1 files changed, 23 insertions, 1 deletions
diff --git a/config/gitlab_loose_foreign_keys.yml b/config/gitlab_loose_foreign_keys.yml
index 3651e7f6c29..c4be4cc1800 100644
--- a/config/gitlab_loose_foreign_keys.yml
+++ b/config/gitlab_loose_foreign_keys.yml
@@ -1,5 +1,23 @@
-# Make sure that this file has the keys sorted
---
+application_settings:
+ - table: push_rules
+ column: push_rule_id
+ on_delete: async_nullify
+ - table: users
+ column: usage_stats_set_by_user_id
+ on_delete: async_nullify
+ - table: namespaces
+ column: instance_administrators_group_id
+ on_delete: async_nullify
+ - table: projects
+ column: file_template_project_id
+ on_delete: async_nullify
+ - table: projects
+ column: instance_administration_project_id
+ on_delete: async_nullify
+ - table: namespaces
+ column: custom_project_templates_group_id
+ on_delete: async_nullify
ci_build_report_results:
- table: projects
column: project_id
@@ -178,6 +196,10 @@ dast_profiles_pipelines:
- table: ci_pipelines
column: ci_pipeline_id
on_delete: async_delete
+dast_profiles_tags:
+ - table: tags
+ column: tag_id
+ on_delete: async_delete
dast_scanner_profiles_builds:
- table: ci_builds
column: ci_build_id