Added schema for _rooms table

This commit is contained in:
Fabio Bas 2014-10-06 21:49:38 +02:00
parent 01bd26d228
commit 0d35488c21

View file

@ -208,3 +208,12 @@ CREATE TABLE `cockatrice_replays_access` (
KEY `id_game` (`id_game`) KEY `id_game` (`id_game`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8; ) ENGINE=MyISAM DEFAULT CHARSET=utf8;
CREATE TABLE IF NOT EXISTS `cockatrice_rooms` (
`id` int(7) unsigned NOT NULL auto_increment,
`name` varchar(50) NOT NULL,
`descr` varchar(255) NOT NULL,
`autojoin` tinyint(1) default 0,
`join_message` varchar(255) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;