Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
723f5bc9
Commit
723f5bc9
authored
Jul 24, 2017
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: dsahboard_version data column type changed to MEDIUMTEXT, fixes #8813
parent
2d2800e7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
pkg/services/sqlstore/migrations/dashboard_version_mig.go
+6
-0
No files found.
pkg/services/sqlstore/migrations/dashboard_version_mig.go
View file @
723f5bc9
...
...
@@ -58,4 +58,10 @@ FROM dashboard;`
Sqlite
(
rawSQL
)
.
Postgres
(
rawSQL
)
.
Mysql
(
rawSQL
))
// change column type of dashboard_version.data
mg
.
AddMigration
(
"alter dashboard_version.data to mediumtext v1"
,
new
(
RawSqlMigration
)
.
Sqlite
(
"SELECT 0 WHERE 0;"
)
.
Postgres
(
"SELECT 0;"
)
.
Mysql
(
"ALTER TABLE dashboard_version MODIFY data MEDIUMTEXT;"
))
}
Write
Preview
Markdown
is supported
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