From a35d4f08a3f9f086eae94dccbfda2ff0c8eb5ae3 Mon Sep 17 00:00:00 2001 From: FrancescoBorzi Date: Mon, 25 Feb 2019 19:24:20 +0100 Subject: Import DB wiki from TC 335 --- docs/uptime.md | 115 ++++++++++++++++++++++++++++++++++++++++++++++++++++----- 1 file changed, 106 insertions(+), 9 deletions(-) (limited to 'docs/uptime.md') diff --git a/docs/uptime.md b/docs/uptime.md index 6f38a61..1188459 100644 --- a/docs/uptime.md +++ b/docs/uptime.md @@ -1,9 +1,106 @@ -[Database Structure](Database-Structure) > [Character-Database](Character-Database) > [uptime](uptime) - -Column | Type | Description ---- | --- | --- -Realmid | int(10) unsigned | -Starttime | int(10) unsigned | -Uptime | int(10) unsigned | -Maxplayers | smallint(5) unsigned | -Revision | varchar(255) | +# uptime + +`Back-to:Auth` + +**The \`uptime\` table** + +This table holds the server's uptime. Trinity will automatically update the latest entry's value until it crashes and a new record is added. + +**Structure** + + ++++++++++ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +

Field

Type

Attributes

Key

Null

Default

Extra

Comment

realmid

int(10)

unsigned

PRI

NO

 

 

 

starttime

int(10)

unsigned

PRI

NO

0

 

 

uptime

int(10)

unsigned

 

NO

0

 

 

maxplayers

smallint(5)

unsigned

 

NO

0

 

 

revision

varchar(255)

signed

 

NO

TrinityCore

 

 

+ +**Description of the fields** + +### realmid + +The ID of the realm. See [realmlist.id](realmlist_2130016.html#realmlist-id) + +### starttime + +The time when the server was started, in Unix time. + +### uptime + +The uptime of the server, in seconds. + +### maxplayers + +The maximum number of players connected. + +### revision + +The detailed revision of the worldserver -- cgit