mirror of
https://github.com/xbgmsharp/postgsail.git
synced 2025-09-17 03:07:47 +00:00
Update migration 202505.
- Update metadata_ext table add REFERENCES and image_url - Add stays_ext, new table to store vessel extended stays from user - Update metadata_update_configuration_trigger, make sure it runs only when need. - Create update_stays_ext_decode_base64_image_trigger_fn to decode base64 image - Update function public.autodiscovery_config_fn and cron_process_autodiscovery_fn, hanlde no metric available - Create api.stays_image to fetch stays image - Update api.vessel_image to fetch boat image - Update public.stay_active_geojson_fn function to produce a GeoJSON with the last position and stay details and anchor details - Update api.monitoring_live, add anchor support - Create view api.noteshistory_view, List stays and moorages notes order by stays - Udpate public.process_stay_queue_fn, replace '0 day' stay name by 'short stay' name - Create view api.logs_geojson_view, List logs with geojson - Create view api.moorages_geojson_view, List moorages with geojson - Create api.export_vessel_geojson_fn, export vessel as geojson - Update api.export_logbook_geojson_linestring_trip_fn, add more trip properties to geojson - Update api.export_logbook_geojson_trip_fn, add more trip properties to geojson - Update api.export_logbooks_geojson_linestring_trips_fn, add more trip properties to geojson - Update TABLE api.stays_ext with ROW LEVEL SECURITY
This commit is contained in: