refactor: uploads should not store the cid but just a hash

This commit is contained in:
Derrick Hammer 2024-01-16 00:52:55 -05:00
parent 61696f42b8
commit f986e3e483
Signed by: pcfreak30
GPG Key ID: C997C339BE476FF2
1 changed files with 1 additions and 1 deletions

View File

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