refactor: change storing path to just ID and fetch from upload via the tus store
This commit is contained in:
parent
673f7c6dfd
commit
4548de5c60
|
@ -7,6 +7,6 @@ import (
|
||||||
type Tus struct {
|
type Tus struct {
|
||||||
gorm.Model
|
gorm.Model
|
||||||
UploadID string `gorm:"primaryKey"`
|
UploadID string `gorm:"primaryKey"`
|
||||||
Path string
|
Id string
|
||||||
Hash string
|
Hash string
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue