database IRIS sync: update ds100, name, lat, lon from IRIS DB

This commit is contained in:
Daniel Friesel 2022-12-12 20:21:44 +01:00
parent 54c46ac9f0
commit 2f7669a520
No known key found for this signature in database
GPG key ID: 100D5BFB5166E005

View file

@ -1224,7 +1224,7 @@ sub sync_stations {
},
{
on_conflict => \
'(eva) do update set archived = false, source = 0'
'(eva) do update set archived = false, source = 0, ds100 = EXCLUDED.ds100, name=EXCLUDED.name, lat=EXCLUDED.lat, lon=EXCLUDED.lon'
}
);
if ( $count++ % 1000 == 0 ) {