 CREATE INDEX idx_node_rgt ON node (rgt);
 CREATE INDEX idx_node_level ON node (level);
 CREATE INDEX idx_node_project ON node (project_id);
-CREATE INDEX idx_node_item ON node (root_id, lft, rgt);
 
 -- ---------------------------------------------------------------------------------------------------------------------
 -- URL

);

CREATE INDEX idx_role_name ON role (name);
CREATE INDEX idx_role_active ON role (active);
CREATE INDEX idx_role_system ON role (system);
CREATE INDEX idx_role_project ON role (project_id);

);

CREATE INDEX idx_entity_name ON entity (name);
CREATE INDEX idx_entity_actions ON entity USING GIN (actions);
CREATE INDEX idx_entity_system ON entity (system);
CREATE INDEX idx_entity_project ON entity (project_id);

