refactor: add completed column to tus_upload
This commit is contained in:
parent
35cd041978
commit
aab4bb4d69
|
@ -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"`
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue