server status information table

This commit is contained in:
Max-Wilhelm Bruker 2010-11-16 17:28:14 +01:00
parent 3573f74313
commit 6b0c644d2f
4 changed files with 33 additions and 5 deletions

View file

@ -111,3 +111,11 @@ CREATE TABLE IF NOT EXISTS `users` (
`token` char(32) NOT NULL,
PRIMARY KEY (`id`)
) ENGINE=MyISAM DEFAULT CHARSET=latin1 AUTO_INCREMENT=915 ;
CREATE TABLE `cockatrice_uptime` (
`timest` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',
`uptime` int(11) DEFAULT NULL,
`users_count` int(11) DEFAULT NULL,
`games_count` int(11) DEFAULT NULL,
PRIMARY KEY (`timest`)
) ENGINE=MyISAM DEFAULT CHARSET=utf8;