2022-02-15 13:14:39 -05:00
|
|
|
# Make sure that this file has the keys sorted
|
2022-01-13 04:15:32 -05:00
|
|
|
---
|
2022-02-15 13:14:39 -05:00
|
|
|
ci_build_report_results:
|
2022-01-26 13:17:51 -05:00
|
|
|
- table: projects
|
|
|
|
column: project_id
|
|
|
|
on_delete: async_delete
|
2022-02-15 13:14:39 -05:00
|
|
|
ci_builds:
|
2022-01-05 13:13:30 -05:00
|
|
|
- table: users
|
2022-02-15 13:14:39 -05:00
|
|
|
column: user_id
|
2022-01-05 13:13:30 -05:00
|
|
|
on_delete: async_nullify
|
2022-01-25 13:11:55 -05:00
|
|
|
- table: projects
|
2022-02-15 13:14:39 -05:00
|
|
|
column: project_id
|
2022-01-25 13:11:55 -05:00
|
|
|
on_delete: async_delete
|
2022-02-15 13:14:39 -05:00
|
|
|
ci_builds_metadata:
|
2022-01-27 10:14:51 -05:00
|
|
|
- table: projects
|
2022-02-15 13:14:39 -05:00
|
|
|
column: project_id
|
2022-01-27 10:14:51 -05:00
|
|
|
on_delete: async_delete
|
2022-01-06 13:13:45 -05:00
|
|
|
ci_daily_build_group_report_results:
|
|
|
|
- table: namespaces
|
|
|
|
column: group_id
|
|
|
|
on_delete: async_delete
|
2022-01-14 13:13:52 -05:00
|
|
|
- table: projects
|
|
|
|
column: project_id
|
|
|
|
on_delete: async_delete
|
2022-01-13 04:15:32 -05:00
|
|
|
ci_freeze_periods:
|
|
|
|
- table: projects
|
|
|
|
column: project_id
|
|
|
|
on_delete: async_delete
|
2022-02-15 13:14:39 -05:00
|
|
|
ci_group_variables:
|
2022-01-06 13:13:45 -05:00
|
|
|
- table: namespaces
|
2022-02-15 13:14:39 -05:00
|
|
|
column: group_id
|
2022-01-06 13:13:45 -05:00
|
|
|
on_delete: async_delete
|
2022-02-15 13:14:39 -05:00
|
|
|
ci_job_artifacts:
|
2022-01-13 07:14:38 -05:00
|
|
|
- table: projects
|
|
|
|
column: project_id
|
|
|
|
on_delete: async_delete
|
2022-02-15 13:14:39 -05:00
|
|
|
ci_job_token_project_scope_links:
|
|
|
|
- table: users
|
|
|
|
column: added_by_id
|
|
|
|
on_delete: async_nullify
|
2022-01-13 04:15:32 -05:00
|
|
|
- table: projects
|
2022-02-15 13:14:39 -05:00
|
|
|
column: source_project_id
|
2022-01-13 04:15:32 -05:00
|
|
|
on_delete: async_delete
|
2022-02-15 13:14:39 -05:00
|
|
|
- table: projects
|
|
|
|
column: target_project_id
|
|
|
|
on_delete: async_delete
|
|
|
|
ci_minutes_additional_packs:
|
2022-01-06 13:13:45 -05:00
|
|
|
- table: namespaces
|
|
|
|
column: namespace_id
|
|
|
|
on_delete: async_delete
|
2021-12-01 13:15:19 -05:00
|
|
|
ci_namespace_mirrors:
|
|
|
|
- table: namespaces
|
|
|
|
column: namespace_id
|
|
|
|
on_delete: async_delete
|
2022-02-15 13:14:39 -05:00
|
|
|
ci_pending_builds:
|
|
|
|
- table: namespaces
|
|
|
|
column: namespace_id
|
2022-01-28 07:17:26 -05:00
|
|
|
on_delete: async_delete
|
2022-01-13 10:14:46 -05:00
|
|
|
- table: projects
|
|
|
|
column: project_id
|
|
|
|
on_delete: async_delete
|
2022-02-15 13:14:39 -05:00
|
|
|
ci_pipeline_artifacts:
|
2022-01-27 13:14:37 -05:00
|
|
|
- table: projects
|
|
|
|
column: project_id
|
|
|
|
on_delete: async_delete
|
2022-02-15 13:14:39 -05:00
|
|
|
ci_pipeline_chat_data:
|
|
|
|
- table: chat_names
|
|
|
|
column: chat_name_id
|
|
|
|
on_delete: async_delete
|
|
|
|
ci_pipeline_schedules:
|
2021-12-15 19:15:50 -05:00
|
|
|
- table: users
|
2022-02-15 13:14:39 -05:00
|
|
|
column: owner_id
|
2021-12-15 19:15:50 -05:00
|
|
|
on_delete: async_nullify
|
2022-01-27 10:14:51 -05:00
|
|
|
- table: projects
|
|
|
|
column: project_id
|
|
|
|
on_delete: async_delete
|
2021-12-15 19:15:50 -05:00
|
|
|
ci_pipelines:
|
|
|
|
- table: merge_requests
|
|
|
|
column: merge_request_id
|
|
|
|
on_delete: async_delete
|
|
|
|
- table: users
|
|
|
|
column: user_id
|
|
|
|
on_delete: async_nullify
|
2022-01-28 10:14:45 -05:00
|
|
|
- table: projects
|
|
|
|
column: project_id
|
|
|
|
on_delete: async_delete
|
2021-12-01 13:15:19 -05:00
|
|
|
ci_project_mirrors:
|
|
|
|
- table: projects
|
|
|
|
column: project_id
|
|
|
|
on_delete: async_delete
|
|
|
|
- table: namespaces
|
|
|
|
column: namespace_id
|
|
|
|
on_delete: async_delete
|
2022-02-15 13:14:39 -05:00
|
|
|
ci_project_monthly_usages:
|
2022-01-13 10:14:46 -05:00
|
|
|
- table: projects
|
|
|
|
column: project_id
|
|
|
|
on_delete: async_delete
|
2022-02-15 13:14:39 -05:00
|
|
|
ci_refs:
|
|
|
|
- table: projects
|
|
|
|
column: project_id
|
2021-12-24 10:13:32 -05:00
|
|
|
on_delete: async_delete
|
2022-02-15 13:14:39 -05:00
|
|
|
ci_resource_groups:
|
2022-01-26 16:16:58 -05:00
|
|
|
- table: projects
|
|
|
|
column: project_id
|
|
|
|
on_delete: async_delete
|
2022-02-15 13:14:39 -05:00
|
|
|
ci_runner_namespaces:
|
|
|
|
- table: namespaces
|
|
|
|
column: namespace_id
|
|
|
|
on_delete: async_delete
|
|
|
|
ci_runner_projects:
|
2022-01-26 07:18:17 -05:00
|
|
|
- table: projects
|
|
|
|
column: project_id
|
|
|
|
on_delete: async_delete
|
2022-02-15 13:14:39 -05:00
|
|
|
ci_running_builds:
|
|
|
|
- table: projects
|
|
|
|
column: project_id
|
2021-12-14 16:13:08 -05:00
|
|
|
on_delete: async_delete
|
2022-02-15 13:14:39 -05:00
|
|
|
ci_secure_files:
|
2022-01-28 07:17:26 -05:00
|
|
|
- table: projects
|
|
|
|
column: project_id
|
|
|
|
on_delete: async_delete
|
2022-02-15 13:14:39 -05:00
|
|
|
ci_sources_pipelines:
|
|
|
|
- table: projects
|
|
|
|
column: source_project_id
|
|
|
|
on_delete: async_delete
|
2022-01-25 10:12:32 -05:00
|
|
|
- table: projects
|
|
|
|
column: project_id
|
|
|
|
on_delete: async_delete
|
2022-02-15 13:14:39 -05:00
|
|
|
ci_sources_projects:
|
|
|
|
- table: projects
|
|
|
|
column: source_project_id
|
2021-12-28 13:15:23 -05:00
|
|
|
on_delete: async_delete
|
2022-02-15 13:14:39 -05:00
|
|
|
ci_stages:
|
|
|
|
- table: projects
|
|
|
|
column: project_id
|
2021-12-28 13:15:23 -05:00
|
|
|
on_delete: async_delete
|
2022-01-25 13:11:55 -05:00
|
|
|
ci_subscriptions_projects:
|
|
|
|
- table: projects
|
|
|
|
column: downstream_project_id
|
|
|
|
on_delete: async_delete
|
2022-01-25 19:12:30 -05:00
|
|
|
- table: projects
|
|
|
|
column: upstream_project_id
|
|
|
|
on_delete: async_delete
|
2022-02-15 13:14:39 -05:00
|
|
|
ci_triggers:
|
|
|
|
- table: users
|
|
|
|
column: owner_id
|
2022-01-11 16:14:42 -05:00
|
|
|
on_delete: async_delete
|
2022-01-13 16:14:07 -05:00
|
|
|
- table: projects
|
|
|
|
column: project_id
|
|
|
|
on_delete: async_delete
|
2022-02-15 13:14:39 -05:00
|
|
|
ci_unit_tests:
|
2022-01-19 13:14:01 -05:00
|
|
|
- table: projects
|
|
|
|
column: project_id
|
|
|
|
on_delete: async_delete
|
2022-02-15 13:14:39 -05:00
|
|
|
ci_variables:
|
2022-01-25 10:12:32 -05:00
|
|
|
- table: projects
|
|
|
|
column: project_id
|
|
|
|
on_delete: async_delete
|
2022-02-15 13:14:39 -05:00
|
|
|
clusters_applications_runners:
|
|
|
|
- table: ci_runners
|
|
|
|
column: runner_id
|
|
|
|
on_delete: async_nullify
|
|
|
|
dast_profiles_pipelines:
|
|
|
|
- table: ci_pipelines
|
|
|
|
column: ci_pipeline_id
|
2022-01-25 16:15:18 -05:00
|
|
|
on_delete: async_delete
|
2022-02-15 13:14:39 -05:00
|
|
|
dast_scanner_profiles_builds:
|
|
|
|
- table: ci_builds
|
|
|
|
column: ci_build_id
|
|
|
|
on_delete: async_delete
|
|
|
|
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
|
2022-01-20 07:16:19 -05:00
|
|
|
on_delete: async_delete
|
2022-02-15 13:14:39 -05:00
|
|
|
external_pull_requests:
|
2022-01-25 07:14:14 -05:00
|
|
|
- table: projects
|
|
|
|
column: project_id
|
|
|
|
on_delete: async_delete
|
2022-02-15 13:14:39 -05:00
|
|
|
merge_request_metrics:
|
|
|
|
- table: ci_pipelines
|
|
|
|
column: pipeline_id
|
|
|
|
on_delete: async_delete
|
|
|
|
merge_requests:
|
|
|
|
- table: ci_pipelines
|
|
|
|
column: head_pipeline_id
|
|
|
|
on_delete: async_nullify
|
|
|
|
merge_trains:
|
|
|
|
- table: ci_pipelines
|
|
|
|
column: pipeline_id
|
|
|
|
on_delete: async_nullify
|
|
|
|
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
|
|
|
|
project_pages_metadata:
|
|
|
|
- table: ci_job_artifacts
|
|
|
|
column: artifacts_archive_id
|
|
|
|
on_delete: async_nullify
|
|
|
|
requirements_management_test_reports:
|
|
|
|
- table: ci_builds
|
|
|
|
column: build_id
|
|
|
|
on_delete: async_nullify
|
|
|
|
security_scans:
|
|
|
|
- table: ci_builds
|
|
|
|
column: build_id
|
|
|
|
on_delete: async_delete
|
|
|
|
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
|
|
|
|
on_delete: async_delete
|
|
|
|
vulnerability_statistics:
|
|
|
|
- table: ci_pipelines
|
|
|
|
column: latest_pipeline_id
|
|
|
|
on_delete: async_nullify
|