mirror of
https://github.com/Cockatrice/Cockatrice.git
synced 2026-06-25 16:13:54 -07:00
server status information table
This commit is contained in:
parent
3573f74313
commit
6b0c644d2f
4 changed files with 33 additions and 5 deletions
|
|
@ -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;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue