fix: add index for image_type

This commit is contained in:
Qu Xuan
2021-03-19 14:27:58 +08:00
parent ea992cab10
commit 1fd9bd5b2f
+1 -1
View File
@@ -90,7 +90,7 @@ type SCachedimage struct {
// 镜像类型, system: 公有云镜像, customized: 自定义镜像
// example: system
ImageType string `width:"16" default:"customized" list:"user"`
ImageType string `width:"16" default:"customized" list:"user" index:"true"`
}
func (self SCachedimage) GetGlobalId() string {