Commit 953363c6 authored by Dylan Griffith's avatar Dylan Griffith

Merge branch 'remove_external_pull_requests_from_lfk' into 'master'

Remove ci_pipelines -> external_pull_requests LFK

See merge request gitlab-org/gitlab!81866
parents 796a0c97 a1c84e7a
......@@ -78,9 +78,6 @@ ci_pipelines:
- table: merge_requests
column: merge_request_id
on_delete: async_delete
- table: external_pull_requests
column: external_pull_request_id
on_delete: async_nullify
- table: users
column: user_id
on_delete: async_nullify
......
......@@ -233,10 +233,6 @@ RSpec.describe ExternalPullRequest do
end
end
it_behaves_like 'it has loose foreign keys' do
let(:factory_name) { :external_pull_request }
end
context 'loose foreign key on external_pull_requests.project_id' do
it_behaves_like 'cleanup by a loose foreign key' do
let!(:parent) { create(:project) }
......
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