portal/db/models/s3_upload.go

11 lines
188 B
Go
Raw Normal View History

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