UniStore: Add folder to the SQL backend (#95671)

* Add folder to the SQL backend

* remove unused key

* fix tests

* Return folders from watch
This commit is contained in:
Georges Chaudy
2024-11-05 10:37:23 +01:00
committed by GitHub
parent 7e34c015ee
commit f075662696
43 changed files with 235 additions and 72 deletions
@@ -2,6 +2,7 @@ UPDATE {{ .Ident "resource" }}
SET
{{ .Ident "guid" }} = {{ .Arg .GUID }},
{{ .Ident "value" }} = {{ .Arg .WriteEvent.Value }},
{{ .Ident "folder" }} = {{ .Arg .Folder }},
{{ .Ident "action" }} = {{ .Arg .WriteEvent.Type }}
WHERE 1 = 1
AND {{ .Ident "group" }} = {{ .Arg .WriteEvent.Key.Group }}