Closed celineung closed 9 months ago
Provient du cron triggerSuggestEditFormEstablishmentEvery6Months
.
On a en DB des establishments sans contacs:
SELECT io.siret, ic.email
FROM immersion_offers AS io
LEFT JOIN establishments AS e ON e.siret = io.siret
LEFT JOIN establishments__immersion_contacts AS eic ON e.siret = eic.establishment_siret
LEFT JOIN immersion_contacts AS ic ON eic.contact_uuid = ic.uuid
WHERE ic.email is null;
Signalement de Benjamin: ça fait un bon moment qu'on a ce genre d'erreur en prod
Lien discussion Discord: https://discord.com/channels/864451835553513474/1197882716113338409