DROP TABLE IF EXISTS `ui_settings`;
CREATE TABLE IF NOT EXISTS `ui_settings` (
  `id` bigint(20) unsigned NOT NULL AUTO_INCREMENT,  `userId` mediumint(8) unsigned NOT NULL,
  `displayEmailImages`          tinyint(1) NOT NULL DEFAULT '0',
  `autoSaveDraft`               tinyint(1) NOT NULL DEFAULT '0',
  `notifications`               tinyint(1) NOT NULL DEFAULT '0',
  `messagePreview`              tinyint(1) NOT NULL DEFAULT '0',
  `enableExtraRecipientFields`  tinyint(1) NOT NULL DEFAULT '0',
  `language`                    varchar(10) CHARACTER SET utf8 DEFAULT 'ENG',

  PRIMARY KEY (`id`),  CONSTRAINT FOREIGN KEY (`userId`) REFERENCES `users` (`id`)     ON DELETE CASCADE ON UPDATE CASCADE) ENGINE=MyISAM  DEFAULT CHARSET=latin1 AUTO_INCREMENT=1 ;







