mirror of
https://github.com/xbgmsharp/postgsail.git
synced 2025-09-17 03:07:47 +00:00
Update migration 202410
- Cleanup public.update_logbook_with_geojson_trigger_fn
This commit is contained in:
@@ -203,9 +203,6 @@ CREATE OR REPLACE FUNCTION public.update_logbook_with_geojson_trigger_fn() RETUR
|
|||||||
DECLARE
|
DECLARE
|
||||||
geojson JSONB;
|
geojson JSONB;
|
||||||
feature JSONB;
|
feature JSONB;
|
||||||
total_distance FLOAT;
|
|
||||||
avg_speed FLOAT;
|
|
||||||
max_speed FLOAT;
|
|
||||||
BEGIN
|
BEGIN
|
||||||
-- Parse the incoming GeoJSON data from the track_geojson column
|
-- Parse the incoming GeoJSON data from the track_geojson column
|
||||||
geojson := NEW.track_geojson::jsonb;
|
geojson := NEW.track_geojson::jsonb;
|
||||||
|
Reference in New Issue
Block a user