CREATE TABLE `ts2_channel_privileges` (
  `i_cp_id` int(8) NOT NULL auto_increment,
  `i_cp_server_id` int(8) default NULL,
  `i_cp_channel_id` int(8) default NULL,
  `i_cp_client_id` int(8) default NULL,
  `b_cp_flag_admin` tinyint(1) default NULL,
  `b_cp_flag_autoop` tinyint(1) default NULL,
  `b_cp_flag_autovoice` tinyint(1) default NULL,
  PRIMARY KEY  (`i_cp_id`),
  KEY `i_cp_channel_id` (`i_cp_channel_id`),
  KEY `i_cp_client_id` (`i_cp_client_id`),
  KEY `i_cp_server_id` (`i_cp_server_id`)
) ENGINE=MyISAM ;