fix: 修正视频相关迁移文件版本号冲突,从 000032 改为 000033

This commit is contained in:
DaWesen
2026-04-10 21:48:56 +08:00
committed by lyingbug
parent fd18264183
commit 46ff7a7d54
2 changed files with 6 additions and 6 deletions
@@ -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 $$;
@@ -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 $$;