Skip to content

Revert: Validate foreign key on GroupHooks

Toon Claes requested to merge revert-ad76d603 into master

What does this MR do?

The change in !60266 (merged) was not good. There was (at least) one invalid row in web_hooks:

gitlabhq_production=> select id from web_hooks where group_id = 2276106;
   id   
--------
 267051
(1 row)

gitlabhq_production=> select id from namespaces where id = 2276106;
 id 
----
(0 rows)

As detected by the database migrations pipeline

Does this MR meet the acceptance criteria?

Conformity

Edited by Mayra Cabrera

Merge request reports