mirror of
https://github.com/diegosouzapw/OmniRoute.git
synced 2026-08-18 13:14:56 +03:00
Validated in local merge-train @ 8f27177d1 (full parity suite green: typecheck+file-size+complexity+cognitive+changelog+unit shards 1&2+vitest)
10 lines
588 B
SQL
10 lines
588 B
SQL
-- #7274: generalize session affinity TTL to all providers, not just Codex.
|
|
-- Carries the existing 'codexSessionAffinityTtlMs' setting value over to the
|
|
-- new generic 'sessionAffinityTtlMs' key so existing Codex users keep their
|
|
-- configured TTL after the rename (backward-compatible, additive, idempotent
|
|
-- per this repo's key_value migration conventions — see 014_unified_log_artifacts.sql).
|
|
INSERT OR IGNORE INTO key_value (namespace, key, value)
|
|
SELECT 'settings', 'sessionAffinityTtlMs', value
|
|
FROM key_value
|
|
WHERE namespace = 'settings' AND key = 'codexSessionAffinityTtlMs';
|