CREATE TABLE `user_meta` (
  `id` int(11) NOT NULL AUTO_INCREMENT,
  `user_id` int(11) NOT NULL,
  `meta_key` varchar(50) NOT NULL,
  `meta_value` text NOT NULL,
  PRIMARY KEY (`id`),
  KEY `key` (`user_id`),
  KEY `user_id` (`user_id`,`meta_key`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1