diff --git a/db/models/tus_upload.go b/db/models/tus_upload.go index e738883..7402ead 100644 --- a/db/models/tus_upload.go +++ b/db/models/tus_upload.go @@ -10,5 +10,6 @@ type TusUpload struct { UploaderIP string Uploader User `gorm:"foreignKey:UploaderID"` Protocol string + Completed bool DeletedAt gorm.DeletedAt `gorm:"uniqueIndex:idx_hash_deleted"` }