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.
main
wizardchen 2026-05-20 16:09:36 +08:00 committed by lyingbug
parent 13301ca026
commit caeb6a44d8
1 changed files with 0 additions and 2 deletions

View File

@ -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