mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
update the updated column!
This commit is contained in:
parent
d554c6f9be
commit
0c7294593c
@ -113,7 +113,7 @@ func (r *SqlAnnotationRepo) Update(item *annotations.Item) error {
|
|||||||
|
|
||||||
existing.Tags = item.Tags
|
existing.Tags = item.Tags
|
||||||
|
|
||||||
if _, err := sess.Table("annotation").Id(existing.Id).Cols("epoch", "text", "region_id", "tags").Update(existing); err != nil {
|
if _, err := sess.Table("annotation").Id(existing.Id).Cols("epoch", "text", "region_id", "updated", "tags").Update(existing); err != nil {
|
||||||
return err
|
return err
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user