Commit 362dbd01 authored by Cristiano Urban's avatar Cristiano Urban
Browse files

Split full path in base path + rel path.

parent bbdfd214
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -134,7 +134,7 @@ class DbConnector(object):
                        SELECT name, os_name, node_id, parent_path, path(parent_path, node_id) AS path, path(parent_relative_path, node_id) AS relative_path, owner_id, location_id, deleted_on 
                        FROM deleted_node
                    )
                    SELECT base_path || '/' || owner_id || os_path AS abs_os_path, an.deleted_on
                    SELECT base_path || '/' || owner_id as os_base_path, os_path AS os_rel_path, an.deleted_on 
                    FROM (
                        SELECT node_id, '/' || string_agg(name, '/') AS os_path
                        FROM (