bucket crud

This commit is contained in:
2024-11-17 22:08:06 +01:00
parent abd805b9cd
commit 8cf61c68bf
10 changed files with 143 additions and 80 deletions

View File

@ -10,7 +10,7 @@ type Bucket struct {
type Object struct {
gorm.Model
Name string `gorm:"uniqueIndex"`
Key string `gorm:"uniqueIndex"`
Size uint
BucketId uint
}