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
6257ae09
Commit
6257ae09
authored
Sep 21, 2016
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat(sqlstore): added index for dashboard_id in dashboard_tag table, fixes #5868
parent
d65fbcbb
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
pkg/services/sqlstore/migrations/dashboard_mig.go
+5
-0
scripts/import_many_dashboards.sh
+0
-0
No files found.
pkg/services/sqlstore/migrations/dashboard_mig.go
View file @
6257ae09
...
...
@@ -120,4 +120,9 @@ func addDashboardMigration(mg *Migrator) {
mg
.
AddMigration
(
"Add index for plugin_id in dashboard"
,
NewAddIndexMigration
(
dashboardV2
,
&
Index
{
Cols
:
[]
string
{
"org_id"
,
"plugin_id"
},
Type
:
IndexType
,
}))
// dashboard_id index for dashboard_tag table
mg
.
AddMigration
(
"Add index for dashboard_id in dashboard_tag"
,
NewAddIndexMigration
(
dashboardTagV1
,
&
Index
{
Cols
:
[]
string
{
"dashboard_id"
},
Type
:
IndexType
,
}))
}
scripts/import_many_dashboards.sh
0 → 100755
View file @
6257ae09
This diff is collapsed.
Click to expand it.
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