Update public.logbook_update_geojson_fn to export id and time

This commit is contained in:
xbgmsharp
2023-04-01 19:27:16 +02:00
parent bda652b87e
commit 2f6a0a6133

View File

@@ -122,12 +122,13 @@ CREATE FUNCTION logbook_update_geojson_fn(IN _id integer, IN _start text, IN _en
ST_AsGeoJSON(log.*) into log_geojson
FROM
( select
name,
id,name,
distance,
duration,
avg_speed,
avg_speed,
max_wind_speed,
_from_time,
notes,
track_geom
FROM api.logbook