mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-08-04 22:32:12 +03:00
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.
13 lines
495 B
SQL
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"}]';
|