mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-07-30 23:50:19 -07:00
server status information table
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user