refactor: add completed column to tus_upload

This commit is contained in:
Derrick Hammer 2024-01-22 17:48:32 -05:00
parent 35cd041978
commit aab4bb4d69
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 0 deletions

View File

@ -10,5 +10,6 @@ type TusUpload struct {
UploaderIP string UploaderIP string
Uploader User `gorm:"foreignKey:UploaderID"` Uploader User `gorm:"foreignKey:UploaderID"`
Protocol string Protocol string
Completed bool
DeletedAt gorm.DeletedAt `gorm:"uniqueIndex:idx_hash_deleted"` DeletedAt gorm.DeletedAt `gorm:"uniqueIndex:idx_hash_deleted"`
} }