|
|
|
@@ -14,7 +14,7 @@ import ( |
|
|
|
type AiModelManage struct { |
|
|
|
ID string `xorm:"pk" json:"id"` |
|
|
|
Name string `xorm:"INDEX NOT NULL" json:"name"` |
|
|
|
ModelType int `xorm:"NULL"` |
|
|
|
ModelType int `xorm:"NULL" json:"modelType"` |
|
|
|
Version string `xorm:"NOT NULL" json:"version"` |
|
|
|
VersionCount int `xorm:"NOT NULL DEFAULT 0" json:"versionCount"` |
|
|
|
New int `xorm:"NOT NULL" json:"new"` |
|
|
|
|