mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-07-19 11:05:03 +01:00
SQL changes for quirks (#28956)
* Put it over here * wrong * over here as well * Fixes it actually this time
This commit is contained in:
@@ -83,6 +83,7 @@ CREATE TABLE `characters` (
|
||||
`runechat_color` VARCHAR(7) COLLATE utf8mb4_unicode_ci NOT NULL DEFAULT '#FFFFFF',
|
||||
`cyborg_brain_type` ENUM('MMI', 'Robobrain', 'Positronic') NOT NULL DEFAULT 'MMI',
|
||||
`pda_ringtone` VARCHAR(16) NULL DEFAULT NULL COLLATE 'utf8mb3_general_ci',
|
||||
`quirks` LONGTEXT COLLATE 'utf8mb4_unicode_ci' DEFAULT NULL,
|
||||
PRIMARY KEY (`id`),
|
||||
KEY `ckey` (`ckey`)
|
||||
) ENGINE=InnoDB AUTO_INCREMENT=125467 DEFAULT CHARSET=utf8mb4 COLLATE=utf8mb4_unicode_ci;
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
#Updates the DB from 66 to 67
|
||||
#Adds a column to the characters table that stores quirks in a JSON format
|
||||
ALTER TABLE `characters`
|
||||
ADD column `quirks` LONGTEXT COLLATE 'utf8mb4_unicode_ci' DEFAULT NULL AFTER `pda_ringtone`;
|
||||
@@ -437,7 +437,7 @@
|
||||
#define INVESTIGATE_WIRES "wires"
|
||||
|
||||
// The SQL version required by this version of the code
|
||||
#define SQL_VERSION 66
|
||||
#define SQL_VERSION 67
|
||||
|
||||
// Vending machine stuff
|
||||
#define CAT_NORMAL (1<<0)
|
||||
|
||||
@@ -173,7 +173,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 = 66
|
||||
sql_version = 67
|
||||
# SQL server address. Can be an IP or DNS name
|
||||
sql_address = "127.0.0.1"
|
||||
# SQL server port
|
||||
|
||||
Reference in New Issue
Block a user