Diff
1diff --git a/db/videos.go b/db/videos.go
2index fbf1015d63ea3f57984cd2da270bcd3e424af49d..dbc83ebc285c82fdc32a259da7a7b32d44aa82a6 100644
3--- a/db/videos.go
4+++ b/db/videos.go
5@@ -228,6 +228,12 @@ func (db *postgresDB) SetVideoProgress(ctx context.Context, videoID string, prog
6 , is_live
7 , duration
8 , progress
9+ , watch_timestamp
10+ , is_discarded
11+ , downloaded_at
12+ , file_path
13+ , download_status
14+ , download_error
15 , channels.name
16 , channels.id
17 FROM updated
18@@ -244,6 +250,12 @@ func (db *postgresDB) SetVideoProgress(ctx context.Context, videoID string, prog
19 &video.IsLive,
20 &video.DurationSeconds,
21 &video.ProgressSeconds,
22+ &video.WatchTime,
23+ &video.IsDiscarded,
24+ &video.DownloadedAt,
25+ &video.FilePath,
26+ &video.DownloadStatus,
27+ &video.DownloadError,
28 &video.ChannelName,
29 &video.ChannelID,
30 )