diff --git a/db/models/upload.go b/db/models/upload.go index 5c756f0..b5c89c3 100644 --- a/db/models/upload.go +++ b/db/models/upload.go @@ -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