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
bb05989e
Unverified
Commit
bb05989e
authored
Mar 18, 2020
by
Arve Knudsen
Committed by
GitHub
Mar 18, 2020
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
SQLStore: Add migration for adding index on annotation.alert_id (#22876)
parent
fc2fece3
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
0 deletions
+4
-0
pkg/services/sqlstore/migrations/annotation_mig.go
+4
-0
No files found.
pkg/services/sqlstore/migrations/annotation_mig.go
View file @
bb05989e
...
...
@@ -145,6 +145,10 @@ func addAnnotationMig(mg *Migrator) {
mg
.
AddMigration
(
"Remove index org_id_epoch_epoch_end from annotation table"
,
NewDropIndexMigration
(
table
,
&
Index
{
Cols
:
[]
string
{
"org_id"
,
"epoch"
,
"epoch_end"
},
Type
:
IndexType
,
}))
mg
.
AddMigration
(
"Add index for alert_id on annotation table"
,
NewAddIndexMigration
(
table
,
&
Index
{
Cols
:
[]
string
{
"alert_id"
},
Type
:
IndexType
,
}))
}
type
AddMakeRegionSingleRowMigration
struct
{
...
...
Kornkitt Poolsup
@Doratong24
mentioned in commit
79aeeaa1
Mar 05, 2021
mentioned in commit
79aeeaa1
mentioned in commit 79aeeaa10a4d50e8f9b9de41f487d26a6cd8e1af
Toggle commit list
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