   `arhge_id` int(11) NOT NULL auto_increment,
   `hg_hg_id` int(11) default NULL,
   `acl_res_id` int(11) default NULL,
-  PRIMARY KEY  (`arhge_id`)
-) ENGINE=InnoDB  DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;
+  PRIMARY KEY  (`arhge_id`),
+  KEY `hg_hg_id` (`hg_hg_id`),
+  KEY `acl_res_id` (`acl_res_id`),
+  KEY `hg_hg_id_2` (`hg_hg_id`,`acl_res_id`)
+) ENGINE=InnoDB  DEFAULT CHARSET=utf8;
 
 -- --------------------------------------------------------
 

  `asgr` int(11) NOT NULL auto_increment,
  `sg_id` int(11) default NULL,
  `acl_res_id` int(11) default NULL,
  PRIMARY KEY  (`asgr`)
) ENGINE=InnoDB  DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;

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

--

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

--
-- Structure de la table `acl_resources_meta_relations`
--

CREATE TABLE IF NOT EXISTS `acl_resources_meta_relations` (
  `armse_id` int(11) NOT NULL auto_increment,
  `meta_id` int(11) default NULL,
  `acl_res_id` int(11) default NULL,
  PRIMARY KEY  (`armse_id`),
  KEY `meta_id` (`meta_id`),
  KEY `acl_res_id` (`acl_res_id`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ;

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

--
-- Structure de la table `acl_resources_sc_relations`
--

