debian-mirror-gitlab/config/gitlab_loose_foreign_keys.yml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

261 lines
6.1 KiB
YAML
Raw Normal View History

2022-04-04 11:22:00 +05:30
# Make sure that this file has the keys sorted
2022-03-02 08:16:31 +05:30
---
2022-04-04 11:22:00 +05:30
ci_build_report_results:
- table: projects
column: project_id
2022-03-02 08:16:31 +05:30
on_delete: async_delete
2022-04-04 11:22:00 +05:30
ci_builds:
- table: users
column: user_id
2022-03-02 08:16:31 +05:30
on_delete: async_nullify
2022-04-04 11:22:00 +05:30
- table: projects
column: project_id
2022-01-26 12:08:38 +05:30
on_delete: async_delete
2022-06-21 17:19:12 +05:30
- table: ci_runners
column: runner_id
on_delete: async_nullify
2022-03-02 08:16:31 +05:30
ci_daily_build_group_report_results:
- table: namespaces
column: group_id
on_delete: async_delete
- table: projects
column: project_id
on_delete: async_delete
ci_freeze_periods:
- table: projects
column: project_id
on_delete: async_delete
2022-04-04 11:22:00 +05:30
ci_group_variables:
2022-03-02 08:16:31 +05:30
- table: namespaces
2022-04-04 11:22:00 +05:30
column: group_id
2022-03-02 08:16:31 +05:30
on_delete: async_delete
2022-04-04 11:22:00 +05:30
ci_job_artifacts:
2022-03-02 08:16:31 +05:30
- table: projects
column: project_id
on_delete: async_delete
2022-04-04 11:22:00 +05:30
ci_job_token_project_scope_links:
- table: users
column: added_by_id
on_delete: async_nullify
2022-03-02 08:16:31 +05:30
- table: projects
2022-04-04 11:22:00 +05:30
column: source_project_id
2022-03-02 08:16:31 +05:30
on_delete: async_delete
2022-04-04 11:22:00 +05:30
- table: projects
column: target_project_id
on_delete: async_delete
ci_minutes_additional_packs:
2022-03-02 08:16:31 +05:30
- table: namespaces
column: namespace_id
on_delete: async_delete
2022-01-26 12:08:38 +05:30
ci_namespace_mirrors:
- table: namespaces
column: namespace_id
on_delete: async_delete
2022-04-04 11:22:00 +05:30
ci_pending_builds:
- table: namespaces
column: namespace_id
on_delete: async_delete
2022-03-02 08:16:31 +05:30
- table: projects
column: project_id
on_delete: async_delete
2022-04-04 11:22:00 +05:30
ci_pipeline_artifacts:
- table: projects
column: project_id
on_delete: async_delete
ci_pipeline_chat_data:
- table: chat_names
column: chat_name_id
on_delete: async_delete
2022-11-25 23:54:43 +05:30
ci_pipeline_metadata:
- table: projects
column: project_id
on_delete: async_delete
2022-04-04 11:22:00 +05:30
ci_pipeline_schedules:
2022-01-26 12:08:38 +05:30
- table: users
2022-04-04 11:22:00 +05:30
column: owner_id
2022-01-26 12:08:38 +05:30
on_delete: async_nullify
2022-04-04 11:22:00 +05:30
- table: projects
column: project_id
on_delete: async_delete
2022-01-26 12:08:38 +05:30
ci_pipelines:
- table: merge_requests
column: merge_request_id
on_delete: async_delete
- table: users
column: user_id
on_delete: async_nullify
2022-04-04 11:22:00 +05:30
- table: projects
column: project_id
on_delete: async_delete
2022-01-26 12:08:38 +05:30
ci_project_mirrors:
- table: projects
column: project_id
on_delete: async_delete
- table: namespaces
column: namespace_id
on_delete: async_delete
2022-04-04 11:22:00 +05:30
ci_project_monthly_usages:
- table: projects
column: project_id
on_delete: async_delete
ci_refs:
- table: projects
column: project_id
on_delete: async_delete
ci_resource_groups:
- table: projects
column: project_id
on_delete: async_delete
ci_runner_namespaces:
- table: namespaces
column: namespace_id
on_delete: async_delete
ci_runner_projects:
- table: projects
column: project_id
on_delete: async_delete
ci_running_builds:
- table: projects
column: project_id
on_delete: async_delete
ci_secure_files:
- table: projects
column: project_id
on_delete: async_delete
ci_sources_pipelines:
- table: projects
column: source_project_id
on_delete: async_delete
- table: projects
column: project_id
on_delete: async_delete
ci_sources_projects:
- table: projects
column: source_project_id
on_delete: async_delete
ci_stages:
- table: projects
column: project_id
on_delete: async_delete
ci_subscriptions_projects:
- table: projects
column: downstream_project_id
on_delete: async_delete
- table: projects
column: upstream_project_id
on_delete: async_delete
2022-07-29 17:44:30 +05:30
- table: users
column: author_id
on_delete: async_delete
2022-04-04 11:22:00 +05:30
ci_triggers:
- table: users
column: owner_id
on_delete: async_delete
- table: projects
column: project_id
on_delete: async_delete
2022-03-02 08:16:31 +05:30
ci_unit_tests:
- table: projects
column: project_id
on_delete: async_delete
2022-04-04 11:22:00 +05:30
ci_variables:
- table: projects
column: project_id
on_delete: async_delete
clusters_applications_runners:
- table: ci_runners
column: runner_id
on_delete: async_nullify
2023-03-04 22:38:38 +05:30
dast_pre_scan_verifications:
- table: ci_pipelines
column: ci_pipeline_id
on_delete: async_delete
2022-04-04 11:22:00 +05:30
dast_profiles_pipelines:
- table: ci_pipelines
column: ci_pipeline_id
on_delete: async_delete
dast_scanner_profiles_builds:
- table: ci_builds
column: ci_build_id
on_delete: async_delete
2023-03-04 22:38:38 +05:30
dast_scanner_profiles_tags:
- table: tags
column: tag_id
on_delete: async_delete
2022-04-04 11:22:00 +05:30
dast_site_profiles_builds:
- table: ci_builds
column: ci_build_id
on_delete: async_delete
dast_site_profiles_pipelines:
- table: ci_pipelines
column: ci_pipeline_id
on_delete: async_delete
2022-07-23 23:45:48 +05:30
deployment_clusters:
- table: clusters
column: cluster_id
on_delete: async_delete
deployments:
- table: clusters
column: cluster_id
on_delete: async_nullify
2022-04-04 11:22:00 +05:30
external_pull_requests:
- table: projects
column: project_id
on_delete: async_delete
merge_request_metrics:
- table: ci_pipelines
column: pipeline_id
2022-07-16 23:28:13 +05:30
on_delete: async_nullify
2022-03-02 08:16:31 +05:30
merge_requests:
- table: ci_pipelines
column: head_pipeline_id
on_delete: async_nullify
2022-04-04 11:22:00 +05:30
merge_trains:
2022-03-02 08:16:31 +05:30
- table: ci_pipelines
column: pipeline_id
2022-04-04 11:22:00 +05:30
on_delete: async_nullify
2023-01-13 00:05:48 +05:30
p_ci_builds_metadata:
- table: projects
column: project_id
on_delete: async_delete
2022-01-26 12:08:38 +05:30
packages_build_infos:
- table: ci_pipelines
column: pipeline_id
on_delete: async_nullify
packages_package_file_build_infos:
- table: ci_pipelines
column: pipeline_id
on_delete: async_nullify
pages_deployments:
- table: ci_builds
column: ci_build_id
on_delete: async_nullify
2022-03-02 08:16:31 +05:30
requirements_management_test_reports:
- table: ci_builds
column: build_id
on_delete: async_nullify
2022-08-13 15:12:31 +05:30
sbom_occurrences:
- table: ci_pipelines
column: pipeline_id
on_delete: async_nullify
2022-03-02 08:16:31 +05:30
security_scans:
- table: ci_builds
column: build_id
on_delete: async_delete
2022-04-04 11:22:00 +05:30
terraform_state_versions:
- table: ci_builds
column: ci_build_id
on_delete: async_nullify
vulnerability_feedback:
- table: ci_pipelines
column: pipeline_id
on_delete: async_nullify
vulnerability_occurrence_pipelines:
- table: ci_pipelines
column: pipeline_id
2022-03-02 08:16:31 +05:30
on_delete: async_delete
2022-04-04 11:22:00 +05:30
vulnerability_statistics:
- table: ci_pipelines
column: latest_pipeline_id
on_delete: async_nullify