add name to file struct

This commit is contained in:
grngxd 2025-06-14 20:28:53 +01:00
parent 3a6b24cb57
commit 09d8ffa82c
2 changed files with 3 additions and 2 deletions

View file

@ -32,6 +32,7 @@ type StereoConfig struct {
type File struct {
ID uuid.UUID `gorm:"type:uuid;primaryKey"`
Name string `gorm:"not null;index"`
Owner string `gorm:"not null;index"`
Size int64 `gorm:"not null;type:bigint"`
CreatedAt time.Time `gorm:"autoCreateTime"`