UPDATE bw_scheddebrock."Kabeltrasse" SET geom = ST_MakeValid(ST_SetSRID(geom, 25832));