mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-24 20:47:10 +01:00
SQL definitions added. Small fixes
This commit is contained in:
@@ -268,6 +268,7 @@ CREATE TABLE `player` (
|
||||
`atklog` smallint(4) DEFAULT '0',
|
||||
`fuid` BIGINT(20) NULL DEFAULT NULL,
|
||||
`fupdate` SMALLINT(4) NULL DEFAULT 0,
|
||||
`afk_watch` tinyint(1) NOT NULL DEFAULT '0',
|
||||
PRIMARY KEY (`id`),
|
||||
UNIQUE KEY `ckey` (`ckey`)
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=32446 DEFAULT CHARSET=latin1;
|
||||
|
||||
@@ -267,6 +267,7 @@ CREATE TABLE `SS13_player` (
|
||||
`atklog` smallint(4) DEFAULT '0',
|
||||
`fuid` BIGINT(20) NULL DEFAULT NULL,
|
||||
`fupdate` SMALLINT(4) NULL DEFAULT 0,
|
||||
`afk_watch` tinyint(1) NOT NULL DEFAULT '0',
|
||||
PRIMARY KEY (`id`),
|
||||
UNIQUE KEY `ckey` (`ckey`)
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=32446 DEFAULT CHARSET=latin1;
|
||||
|
||||
@@ -32,3 +32,6 @@ CREATE TABLE `oauth_tokens` (
|
||||
|
||||
#Drop the old 'discord' table that is not used anymore
|
||||
DROP TABLE `discord`;
|
||||
|
||||
# Add afk_watch which gives users the option to make use of the AFK watcher subsystem
|
||||
ALTER TABLE `player` ADD `afk_watch` tinyint(1) NOT NULL DEFAULT '0';
|
||||
Reference in New Issue
Block a user