From caeb6a44d84ea0d6859383f05e608d15565a4318 Mon Sep 17 00:00:00 2001 From: wizardchen Date: Wed, 20 May 2026 16:09:36 +0800 Subject: [PATCH] refactor(chunk): remove VideoInfo field from Chunk struct - Removed the VideoInfo field from the Chunk struct in chunk.go, streamlining the data model. - This change reflects a shift in focus away from video information storage within the Chunk type. --- internal/types/chunk.go | 2 -- 1 file changed, 2 deletions(-) diff --git a/internal/types/chunk.go b/internal/types/chunk.go index e27c331d..d221c404 100644 --- a/internal/types/chunk.go +++ b/internal/types/chunk.go @@ -156,8 +156,6 @@ type Chunk struct { ContentHash string `json:"content_hash" gorm:"type:varchar(64);index"` // 图片信息,存储为 JSON ImageInfo string `json:"image_info" gorm:"type:text"` - // 视频信息,存储为 JSON - VideoInfo string `json:"video_info" gorm:"type:text"` // Chunk creation time CreatedAt time.Time `json:"created_at"` // Chunk last update time