Update monitoring_view, remove status

This commit is contained in:
xbgmsharp
2024-01-26 13:05:44 +01:00
parent 6a63f7d02f
commit a5ec4c0039

View File

@@ -397,8 +397,8 @@ CREATE VIEW api.monitoring_view WITH (security_invoker=true,security_barrier=tru
'speedoverground', m.speedoverground,
'windspeedapparent', m.windspeedapparent
)::jsonb ) AS geojson,
current_setting('vessel.name', false) AS name,
( SELECT api.status_fn() ) AS status
current_setting('vessel.name', false) AS name
--( SELECT api.status_fn() ) AS status
FROM api.metrics m
ORDER BY time DESC LIMIT 1;
COMMENT ON VIEW