From 14a7a69c807a51c519753cc36be352cf6067ba96 Mon Sep 17 00:00:00 2001 From: Bokkiewokkie <43698041+Bokkiewokkie@users.noreply.github.com> Date: Sat, 4 May 2024 21:21:27 +0200 Subject: [PATCH] Updates the database changelog and sql schema version (#2637) --- .vscode/settings.json | 2 +- SQL/beestation_schema.sql | 2 +- SQL/database_changelog.txt | 31 +++++++++++++++++++++++++++++++ 3 files changed, 33 insertions(+), 2 deletions(-) diff --git a/.vscode/settings.json b/.vscode/settings.json index ca4eceb4b0b..96648e8317d 100644 --- a/.vscode/settings.json +++ b/.vscode/settings.json @@ -10,7 +10,7 @@ "**/.pnp.*": true }, "editor.codeActionsOnSave": { - "source.fixAll.eslint": true + "source.fixAll.eslint": "explicit" }, "files.eol": "\n", "files.insertFinalNewline": true, diff --git a/SQL/beestation_schema.sql b/SQL/beestation_schema.sql index ea6af3a19df..a0626b61340 100644 --- a/SQL/beestation_schema.sql +++ b/SQL/beestation_schema.sql @@ -463,7 +463,7 @@ CREATE TABLE IF NOT EXISTS `SS13_schema_revision` ( `date` datetime NOT NULL DEFAULT CURRENT_TIMESTAMP ON UPDATE CURRENT_TIMESTAMP, PRIMARY KEY (`major`,`minor`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8mb4; -INSERT INTO `SS13_schema_revision` (`major`, `minor`) VALUES (6, 2); +INSERT INTO `SS13_schema_revision` (`major`, `minor`) VALUES (6, 4); diff --git a/SQL/database_changelog.txt b/SQL/database_changelog.txt index c13ad62cc3a..223de1fa64f 100644 --- a/SQL/database_changelog.txt +++ b/SQL/database_changelog.txt @@ -8,6 +8,37 @@ INSERT INTO `SS13_schema_revision` (`major`, `minor`) VALUES (6, 0); In any query remember to add a prefix to the table names if you use one. +----------------------------------------------------- +Version 6.4, 26 July 2023 by Bobbanz1 +Updated antag prefs to be per character + +ALTER TABLE `SS13_characters` + ADD COLUMN IF NOT EXISTS `role_preferences` MEDIUMTEXT NOT NULL COLLATE 'utf8mb4_general_ci', + +----------------------------------------------------- +Version 6.3, 13 January 2023 by Bobbanz1 +Ported flavor texts of different kinds to NSV + +ALTER TABLE `SS13_characters` + ADD COLUMN IF NOT EXISTS `silicon_flavor_text` MEDIUMTEXT NOT NULL COLLATE 'utf8mb4_general_ci', + ADD COLUMN IF NOT EXISTS `general_record` MEDIUMTEXT NOT NULL COLLATE 'utf8mb4_general_ci', + ADD COLUMN IF NOT EXISTS `security_record` MEDIUMTEXT NOT NULL COLLATE 'utf8mb4_general_ci', + ADD COLUMN IF NOT EXISTS `medical_record` MEDIUMTEXT NOT NULL COLLATE 'utf8mb4_general_ci', + +----------------------------------------------------- +Version 6.2, 1 April 2023 by DeltaFire15 +Added lizard hissing styles as a character preference + +ALTER TABLE `SS13_characters` + ADD COLUMN IF NOT EXISTS `lizard_hiss_style` VARCHAR(32) NOT NULL COLLATE 'utf8mb4_general_ci', + +----------------------------------------------------- +Version 6.1, 10 December 2022 by Bobbanz1 +Ported flavor text to NSV + +ALTER TABLE `SS13_characters` + ADD COLUMN IF NOT EXISTS `flavor_text` MEDIUMTEXT NOT NULL COLLATE 'utf8mb4_general_ci', + ----------------------------------------------------- Version 6.0, 23 August 2022 by AffectedArc07