We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 54cf958 commit 215aa38Copy full SHA for 215aa38
liquibase/changes/feat_1125.sql
@@ -1,5 +1,16 @@
1
-- Update gbfsendpoint table to set is_feature = false for specific endpoints
2
UPDATE gbfsendpoint
3
-SET is_feature = false
4
-WHERE name IN ('station_information', 'system_hours', 'system_calendar')
5
-AND is_feature = true;
+SET is_feature = CASE
+ WHEN name IN (
+ 'manifest',
6
+ 'gbfs_versions',
7
+ 'vehicle_types',
8
+ 'station_status',
9
+ 'vehicle_status',
10
+ 'system_regions',
11
+ 'system_pricing_plans',
12
+ 'system_alerts',
13
+ 'geofencing_zones'
14
+ ) THEN true
15
+ ELSE false
16
+END;
0 commit comments