Commit b681b190 authored by Dylan Griffith's avatar Dylan Griffith

Add more loose foreign keys for namespaces

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/348269 .
parent 300635e8
......@@ -22,6 +22,18 @@ ci_job_token_project_scope_links:
- table: users
column: added_by_id
on_delete: async_nullify
ci_daily_build_group_report_results:
- table: namespaces
column: group_id
on_delete: async_delete
ci_pending_builds:
- table: namespaces
column: namespace_id
on_delete: async_delete
ci_runner_namespaces:
- table: namespaces
column: namespace_id
on_delete: async_delete
ci_namespace_mirrors:
- table: namespaces
column: namespace_id
......
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