mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Annotations: use a single row to represent a region (#17673)
* SQLite migrations * cleanup * migrate end times * switch to update with a query * real migration * anno migrations * remove old docs * set isRegion from time changes * use <> for is not * add comment and fix index decleration * single validation place * add test * fix test * add upgrading docs * use AnnotationEvent * fix import * remove regionId from typescript
This commit is contained in:
committed by
Torkel Ödegaard
parent
286b52f5e7
commit
6335509a23
@@ -70,7 +70,6 @@ export interface AnnotationEvent {
|
||||
dashboardId?: number;
|
||||
panelId?: number;
|
||||
userId?: number;
|
||||
regionId?: number;
|
||||
login?: string;
|
||||
email?: string;
|
||||
avatarUrl?: string;
|
||||
@@ -81,4 +80,7 @@ export interface AnnotationEvent {
|
||||
text?: string;
|
||||
type?: string;
|
||||
tags?: string[];
|
||||
|
||||
// Currently used to merge annotations from alerts and dashboard
|
||||
source?: any; // source.type === 'dashboard'
|
||||
}
|
||||
|
Reference in New Issue
Block a user