Open-source LLM knowledge platform: turn raw documents into a queryable RAG, an autonomous reasoning agent, and a self-maintaining Wiki.
Go agentagenticaichatbotdsh-pluginembeddingsevaluationgenerative-aigolangknowledge-basellmmulti-tenantollamaopenaiquestion-answeringragrerankingsemantic-searchvector-searchwiki
fix: 修正视频相关迁移文件版本号冲突,从 000032 改为 000033
DaWesen46ff7a7d54aa
diff --git a/migrations/versioned/000032_add_video_info_to_chunks.down.sql b/migrations/versioned/000033_add_video_info_to_chunks.down.sqlsimilarity index 50%rename from migrations/versioned/000032_add_video_info_to_chunks.down.sqlrename to migrations/versioned/000033_add_video_info_to_chunks.down.sqlindex cd9439bb0..2a0655ee6 100644--- a/migrations/versioned/000032_add_video_info_to_chunks.down.sql+++ b/migrations/versioned/000033_add_video_info_to_chunks.down.sql@@ -1,7 +1,7 @@--- Migration: 000032_add_video_info_to_chunks (down)+-- Migration: 000033_add_video_info_to_chunks (down)-- Description: Remove video_info column from chunks table.-DO $$ BEGIN RAISE NOTICE '[Migration 000032 down] Removing video_info column from chunks'; END $$;+DO $$ BEGIN RAISE NOTICE '[Migration 000033 down] Removing video_info column from chunks'; END $$;ALTER TABLE chunks DROP COLUMN IF EXISTS video_info;-DO $$ BEGIN RAISE NOTICE '[Migration 000032 down] video_info column removed successfully'; END $$;+DO $$ BEGIN RAISE NOTICE '[Migration 000033 down] video_info column removed successfully'; END $$;diff --git a/migrations/versioned/000032_add_video_info_to_chunks.up.sql b/migrations/versioned/000033_add_video_info_to_chunks.up.sqlsimilarity index 75%rename from migrations/versioned/000032_add_video_info_to_chunks.up.sqlrename to migrations/versioned/000033_add_video_info_to_chunks.up.sqlindex e2e355fff..b7f9aa04a 100644--- a/migrations/versioned/000032_add_video_info_to_chunks.up.sql+++ b/migrations/versioned/000033_add_video_info_to_chunks.up.sql@@ -1,10 +1,10 @@--- Migration: 000032_add_video_info_to_chunks+-- Migration: 000033_add_video_info_to_chunks-- Description: Add video_info column to chunks table for video multimodal processing.-- This column stores JSON-serialized VideoInfo struct containing video analysis results.-DO $$ BEGIN RAISE NOTICE '[Migration 000032] Adding video_info column to chunks'; END $$;+DO $$ BEGIN RAISE NOTICE '[Migration 000033] Adding video_info column to chunks'; END $$;ALTER TABLE chunks ADD COLUMN IF NOT EXISTS video_info TEXT;COMMENT ON COLUMN chunks.video_info IS 'Video information in JSON format: {"url": string, "frame_count": int, "has_vlm_analysis": bool, "has_asr": bool, "video_summary": string, "asr_text": string, "frame_descriptions": string[]}';-DO $$ BEGIN RAISE NOTICE '[Migration 000032] video_info column added successfully'; END $$;+DO $$ BEGIN RAISE NOTICE '[Migration 000033] video_info column added successfully'; END $$;