 );
 
 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);
 

CREATE INDEX idx_attr_entity ON attr (entity_id);
CREATE INDEX idx_attr_uid ON attr (uid);
CREATE INDEX idx_attr_name ON attr (name);
CREATE INDEX idx_attr_type ON attr (type);
CREATE INDEX idx_attr_sort ON attr (sort);
CREATE INDEX idx_attr_required ON attr (required);
CREATE INDEX idx_attr_uniq ON attr (uniq);
CREATE INDEX idx_attr_searchable ON attr (searchable);
CREATE INDEX idx_attr_project ON attr (project_id);

-- -----------------------------------------------------------

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);

-- ---------------------------------------------------------------------------------------------------------------------
-- URL
