aboutsummaryrefslogtreecommitdiff
path: root/postgres/schema.sql
diff options
context:
space:
mode:
Diffstat (limited to 'postgres/schema.sql')
-rw-r--r--postgres/schema.sql6
1 files changed, 4 insertions, 2 deletions
diff --git a/postgres/schema.sql b/postgres/schema.sql
index bbc670f..32afe2c 100644
--- a/postgres/schema.sql
+++ b/postgres/schema.sql
@@ -42,8 +42,10 @@ CREATE TABLE Worlds (
PremiumPlayerBuffer SMALLINT NOT NULL,
MaxNewbies SMALLINT NOT NULL,
PremiumNewbieBuffer SMALLINT NOT NULL,
- OnlineRecord SMALLINT NOT NULL DEFAULT 0,
- OnlineRecordTimestamp TIMESTAMPTZ NOT NULL DEFAULT 'epoch',
+ OnlinePeak SMALLINT NOT NULL DEFAULT 0,
+ OnlinePeakTimestamp TIMESTAMPTZ NOT NULL DEFAULT 'epoch',
+ LastStartup TIMESTAMPTZ NOT NULL DEFAULT 'epoch',
+ LastShutdown TIMESTAMPTZ NOT NULL DEFAULT 'epoch',
PRIMARY KEY (WorldID),
UNIQUE (Name)
);