From 46ff7a7d54aa1783c815bf770ec3c79f91e644ca Mon Sep 17 00:00:00 2001 From: DaWesen <3880255095@qq.com> Date: Fri, 10 Apr 2026 21:48:56 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E4=BF=AE=E6=AD=A3=E8=A7=86=E9=A2=91?= =?UTF-8?q?=E7=9B=B8=E5=85=B3=E8=BF=81=E7=A7=BB=E6=96=87=E4=BB=B6=E7=89=88?= =?UTF-8?q?=E6=9C=AC=E5=8F=B7=E5=86=B2=E7=AA=81=EF=BC=8C=E4=BB=8E=20000032?= =?UTF-8?q?=20=E6=94=B9=E4=B8=BA=20000033?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- ...ks.down.sql => 000033_add_video_info_to_chunks.down.sql} | 6 +++--- ...chunks.up.sql => 000033_add_video_info_to_chunks.up.sql} | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) rename migrations/versioned/{000032_add_video_info_to_chunks.down.sql => 000033_add_video_info_to_chunks.down.sql} (50%) rename migrations/versioned/{000032_add_video_info_to_chunks.up.sql => 000033_add_video_info_to_chunks.up.sql} (75%) diff --git a/migrations/versioned/000032_add_video_info_to_chunks.down.sql b/migrations/versioned/000033_add_video_info_to_chunks.down.sql similarity index 50% rename from migrations/versioned/000032_add_video_info_to_chunks.down.sql rename to migrations/versioned/000033_add_video_info_to_chunks.down.sql index cd9439bb..2a0655ee 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.sql similarity index 75% rename from migrations/versioned/000032_add_video_info_to_chunks.up.sql rename to migrations/versioned/000033_add_video_info_to_chunks.up.sql index e2e355ff..b7f9aa04 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 $$;