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 {
|
type Upload struct {
|
||||||
gorm.Model
|
gorm.Model
|
||||||
UserID uint
|
UserID uint
|
||||||
CID string
|
Hash string
|
||||||
ProtocolType string
|
ProtocolType string
|
||||||
User User
|
User User
|
||||||
UploaderIP string
|
UploaderIP string
|
||||||
|
|
Loading…
Reference in New Issue