Add more loose foreign keys for CI builds

We will remove the foreign key in a later MR but for now we can start
with adding the LFK. These have all been determined as safe to be
converted to a loose foreign key in https://gitlab.com/gitlab-org/gitlab/-/issues/348274.
parent 89108e00
......@@ -14,7 +14,7 @@ dast_scanner_profiles_builds:
- table: ci_builds
column: ci_build_id
on_delete: async_delete
dast_scanner_profiles_builds:
dast_site_profiles_builds:
- table: ci_builds
column: ci_build_id
on_delete: async_delete
......@@ -115,3 +115,11 @@ ci_minutes_additional_packs:
- table: namespaces
column: namespace_id
on_delete: async_delete
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
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