portal/db/models/s3_upload.go

15 lines
233 B
Go
Raw Normal View History

2024-02-28 16:36:53 +00:00
package models
import "gorm.io/gorm"
func init() {
registerModel(&S3Upload{})
}
2024-02-28 16:36:53 +00:00
type S3Upload struct {
gorm.Model
UploadID string `gorm:"unique;not null"`
Bucket string `gorm:"not null"`
Key string `gorm:"not null"`
}