Skip to content

Commit 4e9e357

Browse files
authored
fix: VersionData数据类型改为text
1 parent 78cdc28 commit 4e9e357

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

server/model/system/sys_version.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ type SysVersion struct {
1111
VersionName *string `json:"versionName" form:"versionName" gorm:"comment:版本名称;column:version_name;size:255;" binding:"required"` //版本名称
1212
VersionCode *string `json:"versionCode" form:"versionCode" gorm:"comment:版本号;column:version_code;size:100;" binding:"required"` //版本号
1313
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;"` //版本数据
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)