Fix GORM type for flags
All checks were successful
continuous-integration/drone/push Build is passing

This commit is contained in:
Adam Štrauch 2022-02-04 18:09:26 +01:00
parent caf791548d
commit 49f1a03b42
Signed by: cx
GPG Key ID: 018304FFA8988F8D

View File

@ -86,7 +86,7 @@ type App struct {
// Disk usage in inodes
DiskUsageInodes int `json:"disk_usage_inodes"`
// Flags from detector of problems in the container
Flags detector.Flags `json:"flags"`
Flags detector.Flags `json:"flags" gorm:"type:text[]"`
// this is gathered in docker package and has to be assembled externally
Techs AppTechs `json:"techs,omitempty" gorm:"-"` // list of available technologies in the image