Import uptime table and feature from TC (#717)

This commit is contained in:
neltharionorg
2017-12-05 02:57:42 +04:00
committed by Yehonal
parent 7a6c6315b8
commit 29f4a1e090
5 changed files with 44 additions and 1 deletions

View File

@@ -0,0 +1,11 @@
INSERT INTO version_db_auth (`sql_rev`) VALUES ('1511238042597856200');
DROP TABLE IF EXISTS `uptime`;
CREATE TABLE `uptime` (
`realmid` int(10) unsigned NOT NULL,
`starttime` int(10) unsigned NOT NULL DEFAULT '0',
`uptime` int(10) unsigned NOT NULL DEFAULT '0',
`maxplayers` smallint(5) unsigned NOT NULL DEFAULT '0',
`revision` varchar(255) NOT NULL DEFAULT 'AzerothCore',
PRIMARY KEY (`realmid`,`starttime`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8 COMMENT='Uptime system';