Skip to content

Commit

Permalink
change cmd column size
Browse files Browse the repository at this point in the history
  • Loading branch information
barnettZQG committed Aug 9, 2020
1 parent 79b3658 commit d033b8b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion db/model/version.go
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ type VersionInfo struct {
DeliveredType string `gorm:"column:delivered_type;size:40" json:"delivered_type"` //kind
DeliveredPath string `gorm:"column:delivered_path;size:250" json:"delivered_path"` //交付物path
ImageName string `gorm:"column:image_name;size:250" json:"image_name"` //运行镜像名称
Cmd string `gorm:"column:cmd;size:200" json:"cmd"` //启动命令
Cmd string `gorm:"column:cmd;size:2048" json:"cmd"` //启动命令
RepoURL string `gorm:"column:repo_url;size:2047" json:"repo_url"`
CodeVersion string `gorm:"column:code_version;size:40" json:"code_version"`
CodeBranch string `gorm:"column:code_branch;size:40" json:"code_branch"`
Expand Down

0 comments on commit d033b8b

Please sign in to comment.