refactor: uploads should not store the cid but just a hash
This commit is contained in:
parent
61696f42b8
commit
f986e3e483
|
@ -5,7 +5,7 @@ import "gorm.io/gorm"
|
|||
type Upload struct {
|
||||
gorm.Model
|
||||
UserID uint
|
||||
CID string
|
||||
Hash string
|
||||
ProtocolType string
|
||||
User User
|
||||
UploaderIP string
|
||||
|
|
Loading…
Reference in New Issue