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.
This commit is contained in:
@@ -156,8 +156,6 @@ type Chunk struct {
|
|||||||
ContentHash string `json:"content_hash" gorm:"type:varchar(64);index"`
|
ContentHash string `json:"content_hash" gorm:"type:varchar(64);index"`
|
||||||
// 图片信息,存储为 JSON
|
// 图片信息,存储为 JSON
|
||||||
ImageInfo string `json:"image_info" gorm:"type:text"`
|
ImageInfo string `json:"image_info" gorm:"type:text"`
|
||||||
// 视频信息,存储为 JSON
|
|
||||||
VideoInfo string `json:"video_info" gorm:"type:text"`
|
|
||||||
// Chunk creation time
|
// Chunk creation time
|
||||||
CreatedAt time.Time `json:"created_at"`
|
CreatedAt time.Time `json:"created_at"`
|
||||||
// Chunk last update time
|
// Chunk last update time
|
||||||
|
|||||||
Reference in New Issue
Block a user