Sync from and to server
This commit is contained in:
parent
e07258e014
commit
25179ffd15
6 changed files with 125 additions and 76 deletions
2
node.go
2
node.go
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue