En m'appuyant sur le script original server/src/infra/database/scripts/001-load-establishments_com_epci_reg_dep.sql:
-- Link establishments <-> localities
INSERT INTO establishments_localities (
SELECT l.id, e.id
FROM localities l, establishments e
WHERE l.geo_code = any(e.localities_geo_code)
) ON conflict do nothing;
En m'appuyant sur le script original
server/src/infra/database/scripts/001-load-establishments_com_epci_reg_dep.sql
: