Merge branch 'master' of https://github.com/tgstation/tgstation into upstream-sync

This commit is contained in:
xPokee
2025-10-03 07:05:54 -04:00
517 changed files with 24339 additions and 21253 deletions
+20 -3
View File
@@ -2,22 +2,39 @@ 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.34 (for bubberstation) (5.32 for /tg/); The query to update the schema revision table is:
The latest database version is 5.35 (for bubberstation) (5.33 for /tg/); The query to update the schema revision table is:
```sql
INSERT INTO `schema_revision` (`major`, `minor`) VALUES (5, 34);
INSERT INTO `schema_revision` (`major`, `minor`) VALUES (5, 35);
```
or
```sql
INSERT INTO `SS13_schema_revision` (`major`, `minor`) VALUES (5, 34);
INSERT INTO `SS13_schema_revision` (`major`, `minor`) VALUES (5, 35);
```
In any query remember to add a prefix to the table names if you use one.
---
Version 5.33, 28 September 2025, by Atlanta-Ned
Modifies manifest ckey column to be consistent with other ckey columns
```sql
ALTER TABLE manifest
MODIFY ckey VARCHAR(32) NOT NULL;
```
The prefixed connection log SQL schema also specified a `varchar(45)` ckey column. This SQL will modify that:
```sql
ALTER TABLE connection_log
MODIFY ckey VARCHAR(32) NOT NULL;
```
---
Version 5.32, 31 May 2025, by TealSeer
Change column name of `manifest` table because `character` is a reserved word.
+2 -2
View File
@@ -141,7 +141,7 @@ CREATE TABLE `connection_log` (
`server_ip` int(10) unsigned NOT NULL,
`server_port` smallint(5) unsigned NOT NULL,
`round_id` int(11) unsigned NULL,
`ckey` varchar(45) DEFAULT NULL,
`ckey` varchar(32) DEFAULT NULL,
`ip` int(10) unsigned NOT NULL,
`computerid` varchar(45) DEFAULT NULL,
PRIMARY KEY (`id`)
@@ -311,7 +311,7 @@ CREATE TABLE `manifest` (
`server_ip` int(10) unsigned NOT NULL,
`server_port` smallint(5) NOT NULL,
`round_id` int(11) NOT NULL,
`ckey` text NOT NULL,
`ckey` varchar(32) NOT NULL,
`character_name` text NOT NULL,
`job` text NOT NULL,
`special` text DEFAULT NULL,
+2 -2
View File
@@ -140,7 +140,7 @@ CREATE TABLE `SS13_connection_log` (
`server_ip` int(10) unsigned NOT NULL,
`server_port` smallint(5) unsigned NOT NULL,
`round_id` int(11) unsigned NOT NULL,
`ckey` varchar(45) DEFAULT NULL,
`ckey` varchar(32) DEFAULT NULL,
`ip` int(10) unsigned NOT NULL,
`computerid` varchar(45) DEFAULT NULL,
PRIMARY KEY (`id`)
@@ -309,7 +309,7 @@ CREATE TABLE `SS13_manifest` (
`server_ip` int(10) unsigned NOT NULL,
`server_port` smallint(5) NOT NULL,
`round_id` int(11) NOT NULL,
`ckey` text NOT NULL,
`ckey` varchar(32) NOT NULL,
`character_name` text NOT NULL,
`job` text NOT NULL,
`special` text DEFAULT NULL,