fix(channel-monitor-v2): preserve migration checksums and privacy defaults

This commit is contained in:
IanShaw027 committed 2026-08-08 08:55:59 +08:00
1 parent 0d98176c59
commit 9f3ee38d4e
6 files changed
+40 -9

No files matched your search

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