206_channel_monitor_v2_privacy_defaults.sql 462 B

12345678
  1. -- Correct factory defaults introduced by migrations 203 and 204 without
  2. -- mutating those already-applied migration files (which are checksum-locked).
  3. -- The setting was factory-created as false by migration 204. Existing
  4. -- installations need the same privacy-preserving default as new installs.
  5. UPDATE settings
  6. SET value = 'true', updated_at = NOW()
  7. WHERE key = 'channel_monitor_hide_throughput'
  8. AND LOWER(TRIM(value)) IN ('false', '0', 'off', 'disabled');