Files
OmniRoute/src/lib/db/migrations/043_default_compression_combo_pipeline.sql
diegosouzapw d8baf4434d fix(compression): align seeded standard savings combo with stacked default
Update the seeded default compression combo to use the RTK then
Caveman pipeline in both fresh installs and upgraded databases.

Add a targeted migration and runtime guard that only rewrites the
legacy seeded record when its original metadata and single-step
pipeline still match, preserving user-customized default combos.
Refresh docs and tests to reflect the stacked default and expanded
RTK filter catalog.
2026-05-03 15:34:15 -03:00

13 lines
495 B
SQL

-- 043: Upgrade the seeded default compression combo from Caveman-only to RTK + Caveman.
UPDATE compression_combos
SET
description = 'Default RTK + Caveman compression pipeline',
pipeline = '[{"engine":"rtk","intensity":"standard"},{"engine":"caveman","intensity":"full"}]',
updated_at = datetime('now')
WHERE
id = 'default-caveman'
AND name = 'Standard Savings'
AND description = 'Default Caveman compression pipeline'
AND pipeline = '[{"engine":"caveman","intensity":"full"}]';