Correlations: Add legacy storage (#112038)
This commit is contained in:
@@ -110,13 +110,15 @@ type Correlation struct {
|
||||
UID string `json:"uid" xorm:"pk 'uid'"`
|
||||
// UID of the data source the correlation originates from
|
||||
// example: d0oxYRg4z
|
||||
SourceUID string `json:"sourceUID" xorm:"pk 'source_uid'"`
|
||||
SourceUID string `json:"sourceUID" xorm:"pk 'source_uid'"`
|
||||
SourceType *string `json:"-" xorm:"source_type"`
|
||||
// OrgID of the data source the correlation originates from
|
||||
// Example: 1
|
||||
OrgID int64 `json:"orgId" xorm:"pk 'org_id'"`
|
||||
// UID of the data source the correlation points to
|
||||
// example: PE1C5CBDA0504A6A3
|
||||
TargetUID *string `json:"targetUID" xorm:"target_uid"`
|
||||
TargetUID *string `json:"targetUID" xorm:"target_uid"`
|
||||
TargetType *string `json:"-" xorm:"target_type"`
|
||||
// Label identifying the correlation
|
||||
// example: My Label
|
||||
Label string `json:"label" xorm:"label"`
|
||||
|
||||
Reference in New Issue
Block a user