Preemptive schema bump for an upcoming project (#18860)

This commit is contained in:
AffectedArc07
2022-08-19 14:25:16 +01:00
committed by GitHub
parent 87109a29d4
commit ea7c9be9ba
4 changed files with 6 additions and 2 deletions
+1
View File
@@ -287,6 +287,7 @@ CREATE TABLE `player` (
`ghost_darkness_level` tinyint(1) UNSIGNED NOT NULL DEFAULT '255',
`colourblind_mode` VARCHAR(48) NOT NULL DEFAULT 'None' COLLATE 'utf8mb4_general_ci',
`keybindings` LONGTEXT COLLATE 'utf8mb4_unicode_ci' DEFAULT NULL,
`server_region` VARCHAR(32) NULL DEFAULT NULL COLLATE 'utf8mb4_general_ci',
PRIMARY KEY (`id`),
UNIQUE KEY `ckey` (`ckey`),
KEY `lastseen` (`lastseen`),
+3
View File
@@ -0,0 +1,3 @@
# Updating SQL from 43 to 44 -AffectedArc07
# Adding new column for server region settings
ALTER TABLE `player` ADD COLUMN `server_region` VARCHAR(32) NULL DEFAULT NULL AFTER `keybindings`;
+1 -1
View File
@@ -371,7 +371,7 @@
#define INVESTIGATE_BOMB "bombs"
// The SQL version required by this version of the code
#define SQL_VERSION 43
#define SQL_VERSION 44
// Vending machine stuff
#define CAT_NORMAL 1
+1 -1
View File
@@ -145,7 +145,7 @@ ipc_screens = [
# Enable/disable the database on a whole
sql_enabled = false
# SQL version. If this is a mismatch, round start will be delayed
sql_version = 43
sql_version = 44
# SQL server address. Can be an IP or DNS name
sql_address = "127.0.0.1"
# SQL server port