Sync from and to server

This commit is contained in:
Magnus Åhall 2025-01-12 12:21:49 +01:00
parent e07258e014
commit 25179ffd15
6 changed files with 125 additions and 76 deletions

View file

@ -228,7 +228,7 @@ func NodeCrumbs(nodeUUID string) (nodes []Node, err error) { // {{{
SELECT
n.uuid,
COALESCE(n.parent_uuid, 0) AS parent_uuid,
COALESCE(n.parent_uuid, '') AS parent_uuid,
n.name
FROM node n
INNER JOIN nodes nr ON n.uuid = nr.parent_uuid