From bab4f75ec6f70e3802c2c4d7001db23a3a09842f Mon Sep 17 00:00:00 2001 From: Markus Hartung Date: Fri, 7 Aug 2026 00:08:01 +0200 Subject: [PATCH] chore(db): fix stale self-referencing numbers in migration header comments MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Leftover from the 137/138 -> 142/143 renumber — the header comment and the cross-reference to agentic_conversations still named the old numbers. --- src/lib/db/migrations/142_agentic_conversations.sql | 2 +- src/lib/db/migrations/143_conversation_turn_nodes.sql | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/lib/db/migrations/142_agentic_conversations.sql b/src/lib/db/migrations/142_agentic_conversations.sql index 9552c6d683..d247ce8bf5 100644 --- a/src/lib/db/migrations/142_agentic_conversations.sql +++ b/src/lib/db/migrations/142_agentic_conversations.sql @@ -1,4 +1,4 @@ --- 137_agentic_conversations.sql +-- 142_agentic_conversations.sql -- Stable multi-turn conversation tracking for /v1/chat/completions and -- /v1/responses. Clients resend the full growing message/input history on -- every turn; this table lets us detect "request N's history is request diff --git a/src/lib/db/migrations/143_conversation_turn_nodes.sql b/src/lib/db/migrations/143_conversation_turn_nodes.sql index ceb7f33050..5eb066e661 100644 --- a/src/lib/db/migrations/143_conversation_turn_nodes.sql +++ b/src/lib/db/migrations/143_conversation_turn_nodes.sql @@ -1,4 +1,4 @@ --- 138_conversation_turn_nodes.sql +-- 143_conversation_turn_nodes.sql -- Per-turn hash-chain nodes backing a conversation's linear transcript -- (open-sse/services/conversationTracker.ts). Each row is one distinct -- turn instance, chained to its predecessor the same way a git commit @@ -9,7 +9,7 @@ -- duplicates a turn mid-history to keep provider-side prompt caches warm) -- becomes its OWN independent conversation instead (2026-08-06 — every -- OmniRoute conversation is a single straight line, it never forks; see --- resolveConversationId's doc comment). See agentic_conversations (137) for +-- resolveConversationId's doc comment). See agentic_conversations (142) for -- the conversation-root record; its last_message_count/last_messages_hash -- columns are superseded by this table and no longer written to. --