fix(Watchtower): Dont reset alert read status if the version changes
This commit is contained in:
parent
5fa429d99e
commit
697d4605ba
@ -21,7 +21,7 @@ upsert {
|
|||||||
reportedAt = :reportedAt,
|
reportedAt = :reportedAt,
|
||||||
version = :version,
|
version = :version,
|
||||||
read = CASE
|
read = CASE
|
||||||
WHEN value != :value OR version != :version OR threat != :threat THEN 0
|
WHEN value != :value OR threat != :threat THEN 0
|
||||||
ELSE read
|
ELSE read
|
||||||
END
|
END
|
||||||
WHERE
|
WHERE
|
||||||
|
Loading…
x
Reference in New Issue
Block a user