Commit d83e0495 authored by Sonia Zorba's avatar Sonia Zorba
Browse files

OS path view fix

parent 02303432
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -5,7 +5,7 @@

-- Alternative way to obtain the os_path
CREATE VIEW node_os_path AS
SELECT node_id, '/' FROM Node WHERE path = ''
SELECT node_id, '/' AS os_path FROM Node WHERE path = ''
UNION
SELECT node_id, '/' || string_agg(name, '/') AS os_path
FROM (