From 49f1a03b42f783f6923e7e0e30583a9f2b3fa858 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Adam=20=C5=A0trauch?= Date: Fri, 4 Feb 2022 18:09:26 +0100 Subject: [PATCH] Fix GORM type for flags --- apps/types.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/types.go b/apps/types.go index e3cad66..de9aab1 100644 --- a/apps/types.go +++ b/apps/types.go @@ -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