feat(alerting): adds sql layer for saving execution errors

This commit is contained in:
bergquist
2016-08-17 07:49:03 +02:00
parent 434332f02d
commit 9915f15ed0
4 changed files with 66 additions and 9 deletions
+5
View File
@@ -122,6 +122,11 @@ type DeleteAlertCommand struct {
AlertId int64
}
type SaveExecutionErrorCommand struct {
AlertId int64
ExecutionError string
}
//Queries
type GetAlertsQuery struct {
OrgId int64