From df3b72c0fe1981f442390d9ab044040f0f4b20e9 Mon Sep 17 00:00:00 2001 From: wizardchen Date: Wed, 27 May 2026 23:28:57 +0800 Subject: [PATCH] feat(migrations): add knowledge_processing_spans table and rollback script This commit introduces the `knowledge_processing_spans` table to track the progress of document parsing stages, enabling better visibility and error handling in the frontend. The schema includes fields for span details, status, and timestamps, along with necessary indexes for efficient querying. A rollback script is also provided to drop the table and its associated indexes if needed. --- ..._spans.down.sql => 000055_knowledge_processing_spans.down.sql} | 0 ...sing_spans.up.sql => 000055_knowledge_processing_spans.up.sql} | 0 2 files changed, 0 insertions(+), 0 deletions(-) rename migrations/versioned/{000054_knowledge_processing_spans.down.sql => 000055_knowledge_processing_spans.down.sql} (100%) rename migrations/versioned/{000054_knowledge_processing_spans.up.sql => 000055_knowledge_processing_spans.up.sql} (100%) diff --git a/migrations/versioned/000054_knowledge_processing_spans.down.sql b/migrations/versioned/000055_knowledge_processing_spans.down.sql similarity index 100% rename from migrations/versioned/000054_knowledge_processing_spans.down.sql rename to migrations/versioned/000055_knowledge_processing_spans.down.sql diff --git a/migrations/versioned/000054_knowledge_processing_spans.up.sql b/migrations/versioned/000055_knowledge_processing_spans.up.sql similarity index 100% rename from migrations/versioned/000054_knowledge_processing_spans.up.sql rename to migrations/versioned/000055_knowledge_processing_spans.up.sql