* Revert "Revert "Unistore : Ensure Watch works in HA mode." (#94097)"
This reverts commit 7c3fc2f261.
* make previous_resource_version nullable
* handle nil case
14 lines
248 B
SQL
14 lines
248 B
SQL
INSERT INTO {{ .Ident "resource_version" }}
|
|
(
|
|
{{ .Ident "group" }},
|
|
{{ .Ident "resource" }},
|
|
{{ .Ident "resource_version" }}
|
|
)
|
|
|
|
VALUES (
|
|
{{ .Arg .Group }},
|
|
{{ .Arg .Resource }},
|
|
2
|
|
)
|
|
;
|