refactor: change storing path to just ID and fetch from upload via the tus store

This commit is contained in:
Derrick Hammer 2023-05-16 17:11:38 -04:00
parent 673f7c6dfd
commit 4548de5c60
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 1 deletions

View File

@ -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
} }