From 58cd0099d9ddf0afbe710469ae39dd6ff5c882fc Mon Sep 17 00:00:00 2001 From: Bloop <13398309+vinylspiders@users.noreply.github.com> Date: Sun, 1 Jun 2025 04:10:03 -0400 Subject: [PATCH] Fixes inconsistent tab/space issue in schema (#91127) ## About The Pull Request This is something I wish I could just ignore and move on from but it bothered me enough to make this PR so here we are ## Changelog Nothing at all anyone will ever notice besides the people looking at this file in the repo --- SQL/database_changelog.md | 4 ++-- SQL/tgstation_schema.sql | 2 +- SQL/tgstation_schema_prefixed.sql | 2 +- code/__DEFINES/subsystems.dm | 2 +- 4 files changed, 5 insertions(+), 5 deletions(-) diff --git a/SQL/database_changelog.md b/SQL/database_changelog.md index b31dc9c963a..fd0eb8c07d5 100644 --- a/SQL/database_changelog.md +++ b/SQL/database_changelog.md @@ -2,7 +2,7 @@ Any time you make a change to the schema files, remember to increment the databa Make sure to also update `DB_MAJOR_VERSION` and `DB_MINOR_VERSION`, which can be found in `code/__DEFINES/subsystem.dm`. -The latest database version is 5.28; The query to update the schema revision table is: +The latest database version is 5.31; The query to update the schema revision table is: ```sql INSERT INTO `schema_revision` (`major`, `minor`) VALUES (5, 31); @@ -18,7 +18,7 @@ In any query remember to add a prefix to the table names if you use one. --- -Version 5.30, 3 May 2025, by Atlanta-Ned +Version 5.31, 3 May 2025, by Atlanta-Ned Adds a `manifest` table. ```sql diff --git a/SQL/tgstation_schema.sql b/SQL/tgstation_schema.sql index b91fe1ae921..cdd122a876a 100644 --- a/SQL/tgstation_schema.sql +++ b/SQL/tgstation_schema.sql @@ -115,7 +115,7 @@ CREATE TABLE IF NOT EXISTS `citation` ( `sender_ic` varchar(64) NOT NULL DEFAULT '' COMMENT 'Longer because this is the character name, not the ckey', `recipient` varchar(64) NOT NULL DEFAULT '' COMMENT 'Longer because this is the character name, not the ckey', `crime` text NOT NULL, - `crime_desc` text NULL DEFAULT NULL, + `crime_desc` text NULL DEFAULT NULL, `fine` int(4) DEFAULT NULL, `paid` int(4) DEFAULT 0, `timestamp` datetime NOT NULL, diff --git a/SQL/tgstation_schema_prefixed.sql b/SQL/tgstation_schema_prefixed.sql index 14bd5117ba3..afef4345801 100644 --- a/SQL/tgstation_schema_prefixed.sql +++ b/SQL/tgstation_schema_prefixed.sql @@ -115,7 +115,7 @@ CREATE TABLE IF NOT EXISTS `SS13_citation` ( `sender_ic` varchar(64) NOT NULL DEFAULT '' COMMENT 'Longer because this is the character name, not the ckey', `recipient` varchar(64) NOT NULL DEFAULT '' COMMENT 'Longer because this is the character name, not the ckey', `crime` text NOT NULL, - `crime_desc` text NULL DEFAULT NULL, + `crime_desc` text NULL DEFAULT NULL, `fine` int(4) DEFAULT NULL, `paid` int(4) DEFAULT 0, `timestamp` datetime NOT NULL, diff --git a/code/__DEFINES/subsystems.dm b/code/__DEFINES/subsystems.dm index 85f520e8e9b..784b51215a9 100644 --- a/code/__DEFINES/subsystems.dm +++ b/code/__DEFINES/subsystems.dm @@ -20,7 +20,7 @@ * * make sure you add an update to the schema_version stable in the db changelog */ -#define DB_MINOR_VERSION 30 +#define DB_MINOR_VERSION 31 //! ## Timing subsystem