mirror of
https://github.com/pacnpal/thrilltrack-explorer.git
synced 2025-12-20 06:31:13 -05:00
Backfill Lagoon location
Investigate Lagoon park to ensure location_id is populated after the backfill. The backfill path was executed but Lagoon still shows location_id as NULL, indicating the backfill did not apply correctly. This commit documents the follow-up checks and intention to adjust the backfill/association logic (joining via slug rather than park_id and ensuring name/display_name are populated) to correctly link Lagoon to its location. No frontend changes.
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
-- Run backfill to populate missing park locations
|
||||
DO $$
|
||||
DECLARE
|
||||
v_result jsonb;
|
||||
BEGIN
|
||||
RAISE NOTICE '========================================';
|
||||
RAISE NOTICE 'Running backfill_park_locations()...';
|
||||
RAISE NOTICE '========================================';
|
||||
|
||||
SELECT backfill_park_locations() INTO v_result;
|
||||
|
||||
RAISE NOTICE '========================================';
|
||||
RAISE NOTICE 'Backfill Complete!';
|
||||
RAISE NOTICE 'Result: %', v_result;
|
||||
RAISE NOTICE '========================================';
|
||||
END $$;
|
||||
Reference in New Issue
Block a user