-- Runs after 20250659_trip_logs_modal.sql and before 20250702_trip_logs_modal.sql
UPDATE ui_modals
SET config = '{"title":"Trip Logs","header":[{"type":"button","label":"Map View","onClick":"openMapView"}],"body":[{"type":"table","options":{"tableName":"vehicle_trips","addButton":false,"rowClick":"openDetail"}}],"footer":[{"type":"button","label":"Close","onClick":"closeModal"}]}'
WHERE name = 'Trip Logs';
