DROP TABLE IF EXISTS `phpcms_message_data`;
CREATE TABLE `phpcms_message_data` (
  `id` int(4) NOT NULL AUTO_INCREMENT,
  `userid` mediumint(8) NOT NULL,
  `group_message_id` int(5) NOT NULL,
  PRIMARY KEY (`id`),
  KEY `message` (`userid`,`group_message_id`)
) TYPE=MyISAM;