Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
小 白蛋
Rainbond2
Commits
dab4bd07
Commit
dab4bd07
authored
5 years ago
by
凡羊羊
Browse files
Options
Download
Email Patches
Plain Diff
[FIX] fix issue(#338) bug, modify tenant service env max size to 1024
parent
d4a49a18
main
Develop-V5.X
V5.1
V5.2
V5.3
V5.4
dependabot/npm_and_yarn/webcli/js/xterm-4.5.0
feat-V5.10
feat-V5.10.1
feat-containerd
feat-containerd1
feature-helmapp
feature-helmapp-2
feature-k8s
fixbug-560
master
mesh-start
servicemonitor
zqhtest-containerd
v5.10.0-release
v5.9.0-release
v5.8.1-release
v5.8.0-release
v5.7.1-release
v5.7.0-release
v5.6.0-release
v5.5.0-release
v5.5.0-dind
v5.4.1-release
v5.4.0-release
v5.3.3-release
v5.3.2-release
v5.3.1-release
v5.3.0-release
v5.2.2-release
v5.2.1-release
v5.2.0-release
v5.2.0-beta2
v5.2.0-beta1
v5.1.11-release
v5.1.10-release
v5.1.9-release
v5.1.8-release
v5.1.6-release
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
db/mysql/mysql.go
+6
-1
db/mysql/mysql.go
with
6 additions
and
1 deletion
+6
-1
db/mysql/mysql.go
+
6
-
1
View file @
dab4bd07
...
...
@@ -165,4 +165,9 @@ func (m *Manager) CheckTable() {
})
}
func
(
m
*
Manager
)
patchTable
()
{}
func
(
m
*
Manager
)
patchTable
()
{
//modify tenant service env max size to 1024
if
err
:=
m
.
db
.
Exec
(
"alter table tenant_services_envs modify column attr_value varchar(1024);"
)
.
Error
;
err
!=
nil
{
logrus
.
Errorf
(
"alter table tenant_services_envs error %s"
,
err
.
Error
())
}
}
This diff is collapsed.
Click to expand it.
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment
Menu
Projects
Groups
Snippets
Help