CREATE TABLE `t_games`( `id` INT(11) NOT NULL AUTO_INCREMENT, `teams` VARCHAR(255), `coefs` VARCHAR(255), `end` INT(11) NOT NULL, `score` VARCHAR(255), `winner` INT(2), PRIMARY KEY(`id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; CREATE TABLE `t_mils`( `id` INT(11) NOT NULL AUTO_INCREMENT, `refid` INT(11) NOT NULL, `user` INT(11) NOT NULL, `mil` INT(11) NOT NULL, `winner` INT(2) NOT NULL, PRIMARY KEY(`id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; CREATE TABLE `t_chat`( `id` INT(11) NOT NULL AUTO_INCREMENT, `user` INT(11) NOT NULL, `text` TEXT, `date` INT(11) NOT NULL, PRIMARY KEY(`id`) ) ENGINE=MyISAM DEFAULT CHARSET=utf8 AUTO_INCREMENT=1 ; ALTER TABLE `users` ADD `rating` INT( 11 ) NOT NULL