CREATE TABLE `master_account` (
`maccount_id` INT(11) NOT NULL AUTO_INCREMENT,
`email` VARCHAR(39) NOT NULL,
`user_pass` VARCHAR(32) NOT NULL,
`nickname` VARCHAR(23) NOT NULL,
`sex` enum('M','F','S') NOT NULL DEFAULT 'M',
`group_id` tinyint(3) NOT NULL DEFAULT '0',
`state` INT(11) NOT NULL DEFAULT '0',
`unban_time` INT(11) NOT NULL DEFAULT '0',
`expiration_time` INT(11) NOT NULL DEFAULT '0',
`logincount` mediumint(9) NOT NULL,
`lastlogin` DATE DEFAULT NULL,
`last_ip` VARCHAR(100) NOT NULL,
`birthdate` DATE DEFAULT NULL,
PRIMARY KEY (`maccount_id`)
) ENGINE=InnoDB DEFAULT CHARSET=latin1;