From 1af3a3d5b946e1f3b2c0969e45eadf7f38c30b82 Mon Sep 17 00:00:00 2001 From: speatzle Date: Wed, 19 Mar 2025 13:27:15 +0100 Subject: [PATCH] add missing fields to struct --- server/library.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/server/library.go b/server/library.go index 85138c9..e9031be 100644 --- a/server/library.go +++ b/server/library.go @@ -20,10 +20,12 @@ type File struct { ID int `db:"id"` Path string `db:"path"` Size int64 `db:"size"` + OldSize int64 `db:"old_size"` Status constants.FileStatus `db:"status"` Health constants.FileHealth `db:"health"` Transcode constants.FileTranscode `db:"transcode"` MD5 []byte `db:"md5"` + OldMD5 []byte `db:"old_md5"` UpdatedAt time.Time `db:"updated_at"` }