This commit is contained in:
parent
b98be1fd70
commit
1af3a3d5b9
1 changed files with 2 additions and 0 deletions
|
@ -20,10 +20,12 @@ type File struct {
|
||||||
ID int `db:"id"`
|
ID int `db:"id"`
|
||||||
Path string `db:"path"`
|
Path string `db:"path"`
|
||||||
Size int64 `db:"size"`
|
Size int64 `db:"size"`
|
||||||
|
OldSize int64 `db:"old_size"`
|
||||||
Status constants.FileStatus `db:"status"`
|
Status constants.FileStatus `db:"status"`
|
||||||
Health constants.FileHealth `db:"health"`
|
Health constants.FileHealth `db:"health"`
|
||||||
Transcode constants.FileTranscode `db:"transcode"`
|
Transcode constants.FileTranscode `db:"transcode"`
|
||||||
MD5 []byte `db:"md5"`
|
MD5 []byte `db:"md5"`
|
||||||
|
OldMD5 []byte `db:"old_md5"`
|
||||||
UpdatedAt time.Time `db:"updated_at"`
|
UpdatedAt time.Time `db:"updated_at"`
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue