Reduce length for file names to 2048 chars to fix error on CI, see #106
This commit is contained in:
parent
ffc64cceb0
commit
2f15ca2c59
1 changed files with 1 additions and 1 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue