Fix/update vessel_fn sub query because of function owner

This commit is contained in:
xbgmsharp
2023-02-04 23:42:38 +01:00
parent eb3a14bee4
commit 665a9d30e6

View File

@@ -81,10 +81,11 @@ AS $vessel$
anglespeedapparent,
longitude,latitude,
st_makepoint(longitude,latitude) AS geo_point
FROM public.last_metric
FROM api.metrics
WHERE
latitude IS NOT NULL
AND longitude IS NOT NULL
AND client_id = current_setting('vessel.client_id', false)
)
) AS t
) AS geojson_t