diff --git a/internal/models/file.go b/internal/models/file.go index 98e67f94a..7589e1b50 100644 --- a/internal/models/file.go +++ b/internal/models/file.go @@ -11,7 +11,7 @@ type File struct { PhotoID uint FilePrimary bool FileMissing bool - FileName string `gorm:"type:varchar(4096);index"` + FileName string `gorm:"type:varchar(2048);index"` FileType string `gorm:"type:varchar(32)"` FileMime string `gorm:"type:varchar(64)"` FileWidth int