Add check: 500 Error when accessing Pipeline page after upgrading to GitLab 18.4.1
This is the issue to add a check for 18.4.1 encountered for https://gitlab.zendesk.com/agent/tickets/660179
SQL:
SELECT DISTINCT p.id, now(), now(), false
FROM projects p
WHERE NOT EXISTS (
SELECT 1
FROM project_security_settings ps
WHERE ps.project_id = p.id
);