Mercurial > gemma
annotate schema/updates/1314/01.fix_sr_dateinfo.sql @ 5115:bb5459faadb7 queued-stage-done
Dont leave old jobs behind if retrying remove jobs.
author | Sascha L. Teichmann <sascha.teichmann@intevation.de> |
---|---|
date | Wed, 25 Mar 2020 18:02:46 +0100 |
parents | 3a8ec3c396e0 |
children |
rev | line source |
---|---|
4787
3a8ec3c396e0
Fixed date_info in sounding result area geoserver view.
Raimund Renkert <raimund@renkert.org>
parents:
diff
changeset
|
1 UPDATE sys_admin.published_services SET view_def = $$ |
3a8ec3c396e0
Fixed date_info in sounding result area geoserver view.
Raimund Renkert <raimund@renkert.org>
parents:
diff
changeset
|
2 SELECT bottleneck_id, |
3a8ec3c396e0
Fixed date_info in sounding result area geoserver view.
Raimund Renkert <raimund@renkert.org>
parents:
diff
changeset
|
3 to_char(date_info, 'YYYY-MM-DD') AS date_info, |
3a8ec3c396e0
Fixed date_info in sounding result area geoserver view.
Raimund Renkert <raimund@renkert.org>
parents:
diff
changeset
|
4 height, |
3a8ec3c396e0
Fixed date_info in sounding result area geoserver view.
Raimund Renkert <raimund@renkert.org>
parents:
diff
changeset
|
5 areas, |
3a8ec3c396e0
Fixed date_info in sounding result area geoserver view.
Raimund Renkert <raimund@renkert.org>
parents:
diff
changeset
|
6 surtyp |
3a8ec3c396e0
Fixed date_info in sounding result area geoserver view.
Raimund Renkert <raimund@renkert.org>
parents:
diff
changeset
|
7 FROM waterway.sounding_results_iso_areas ia |
3a8ec3c396e0
Fixed date_info in sounding result area geoserver view.
Raimund Renkert <raimund@renkert.org>
parents:
diff
changeset
|
8 JOIN waterway.sounding_results sr ON sr.id = ia.sounding_result_id |
3a8ec3c396e0
Fixed date_info in sounding result area geoserver view.
Raimund Renkert <raimund@renkert.org>
parents:
diff
changeset
|
9 $$ WHERE name = 'sounding_results_areas_geoserver'; |