$tableSchema[] = "CREATE TABLE " . PREFIX . "_users (
`email` varchar(50) NOT NULL default '',
`password` varchar(255) NOT NULL default '',
`name` varchar(40) NOT NULL default '',
`user_id` int(11) NOT NULL auto_increment,
`news_num` mediumint(8) NOT NULL default '0',
`comm_num` mediumint(8) NOT NULL default '0',
`user_group` smallint(5) NOT NULL default '4',
`lastdate` varchar(20) NOT NULL default '',
`reg_date` varchar(20) NOT NULL default '',
`banned` varchar(5) NOT NULL default '',
`allow_mail` tinyint(1) NOT NULL default '1',
`info` text NOT NULL,
`signature` text NOT NULL,
`foto` varchar(255) NOT NULL default '',
`fullname` varchar(100) NOT NULL default '',
`land` varchar(100) NOT NULL default '',
`favorites` text NOT NULL,
`pm_all` smallint(5) NOT NULL default '0',
`pm_unread` smallint(5) NOT NULL default '0',
`time_limit` varchar(20) NOT NULL default '',
`xfields` text NOT NULL,
`allowed_ip` varchar(255) NOT NULL default '',
`hash` varchar(32) NOT NULL default '',
`logged_ip` varchar(40) NOT NULL default '',
`restricted` TINYINT(1) NOT NULL default '0',
`restricted_days` SMALLINT(4) NOT NULL default '0',
`restricted_date` VARCHAR(15) NOT NULL default '',
`timezone` VARCHAR(100) NOT NULL default '',
`news_subscribe` tinyint(1) NOT NULL default '0',
`comments_reply_subscribe` tinyint(1) NOT NULL default '0',
`twofactor_auth` tinyint(1) NOT NULL default '0',
PRIMARY KEY (`user_id`),
UNIQUE KEY `name` (`name`),
UNIQUE KEY `email` (`email`)
) ENGINE=" . $storage_engine . " DEFAULT CHARACTER SET " . COLLATE . " COLLATE " . COLLATE . "_general_ci";