Skip to content

Commit 58b123d

Browse files
author
piexlMax(奇淼
committed
fix: VersionData 默认使用text 考虑兼容性
1 parent fb199ae commit 58b123d

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

server/model/system/sys_version.go

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@ import (
88
// 版本管理 结构体 SysVersion
99
type SysVersion struct {
1010
global.GVA_MODEL
11-
VersionName *string `json:"versionName" form:"versionName" gorm:"comment:版本名称;column:version_name;size:255;" binding:"required"` //版本名称
12-
VersionCode *string `json:"versionCode" form:"versionCode" gorm:"comment:版本号;column:version_code;size:100;" binding:"required"` //版本号
13-
Description *string `json:"description" form:"description" gorm:"comment:版本描述;column:description;size:500;"` //版本描述
14-
VersionData *string `json:"versionData" form:"versionData" gorm:"comment:版本数据JSON;column:version_data;type:longtext;postgres:type:text;sqlite:type:text;"` //版本数据
11+
VersionName *string `json:"versionName" form:"versionName" gorm:"comment:版本名称;column:version_name;size:255;" binding:"required"` //版本名称
12+
VersionCode *string `json:"versionCode" form:"versionCode" gorm:"comment:版本号;column:version_code;size:100;" binding:"required"` //版本号
13+
Description *string `json:"description" form:"description" gorm:"comment:版本描述;column:description;size:500;"` //版本描述
14+
VersionData *string `json:"versionData" form:"versionData" gorm:"comment:版本数据JSON;column:version_data;type:text;"` //版本数据
1515
}
1616

1717
// TableName 版本管理 SysVersion自定义表名 sys_versions

0 commit comments

Comments
 (0)