CREATE TABLE `profile_data` (
  `id` int(11) NOT NULL auto_increment,
  `userId` int(11) NOT NULL,
  `elementId` int(11) NOT NULL,
  PRIMARY KEY  (`id`),
  KEY `elementId` (`elementId`,`userId`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;

CREATE TABLE `profile_data_i18n` (
  `id` int(11) NOT NULL,
  `val` varchar(255) NOT NULL,
  `locale` varchar(5) NOT NULL default 'en_US',
  UNIQUE KEY `id` (`id`,`locale`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;