Import uptime table and feature from TC (#717)
This commit is contained in:
parent
7a6c6315b8
commit
29f4a1e090
5 changed files with 44 additions and 1 deletions
11
data/sql/updates/pending_db_auth/rev_1511238042597856200.sql
Normal file
11
data/sql/updates/pending_db_auth/rev_1511238042597856200.sql
Normal 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';
|
||||
Loading…
Add table
Add a link
Reference in a new issue