mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-25 22:19:30 +01:00
[MIRROR] Removes Clone Damage [MDB IGNORE] (#25429)
* Removes Clone Damage * Update blackbox.dm * Modular * Update schema * Update database_changelog.md * More modular deprecated clone things --------- Co-authored-by: distributivgesetz <distributivgesetz93@gmail.com> Co-authored-by: Bloop <13398309+vinylspiders@users.noreply.github.com>
This commit is contained in:
co-authored by
distributivgesetz
Bloop
parent
ef31e08fd2
commit
9c60ff1de1
@@ -2,19 +2,26 @@ 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.27 (5.25 for /tg/); The query to update the schema revision table is:
|
||||
The latest database version is 5.28 (5.26 for /tg/); The query to update the schema revision table is:
|
||||
|
||||
```sql
|
||||
INSERT INTO `schema_revision` (`major`, `minor`) VALUES (5, 25);
|
||||
INSERT INTO `schema_revision` (`major`, `minor`) VALUES (5, 28);
|
||||
```
|
||||
or
|
||||
|
||||
```sql
|
||||
INSERT INTO `SS13_schema_revision` (`major`, `minor`) VALUES (5, 25);
|
||||
INSERT INTO `SS13_schema_revision` (`major`, `minor`) VALUES (5, 28);
|
||||
```
|
||||
|
||||
In any query remember to add a prefix to the table names if you use one.
|
||||
|
||||
-----------------------------------------------------
|
||||
Version 5.28, 03 December 2023, by distributivgesetz
|
||||
Set the default value of cloneloss to 0, as it's obsolete and it won't be set by blackbox anymore.
|
||||
```sql
|
||||
ALTER TABLE `death` MODIFY COLUMN `cloneloss` SMALLINT(5) UNSIGNED DEFAULT '0';
|
||||
```
|
||||
|
||||
-----------------------------------------------------
|
||||
Version 5.27, 27 September 2023, by Jimmyl
|
||||
Removes the text_adventures table because it is no longer used
|
||||
|
||||
@@ -177,7 +177,7 @@ CREATE TABLE `death` (
|
||||
`fireloss` smallint(5) unsigned NOT NULL,
|
||||
`oxyloss` smallint(5) unsigned NOT NULL,
|
||||
`toxloss` smallint(5) unsigned NOT NULL,
|
||||
`cloneloss` smallint(5) unsigned NOT NULL,
|
||||
`cloneloss` smallint(5) unsigned DEFAULT '0',
|
||||
`staminaloss` smallint(5) unsigned NOT NULL,
|
||||
`last_words` varchar(255) DEFAULT NULL,
|
||||
`suicide` tinyint(1) NOT NULL DEFAULT '0',
|
||||
|
||||
@@ -176,7 +176,7 @@ CREATE TABLE `SS13_death` (
|
||||
`fireloss` smallint(5) unsigned NOT NULL,
|
||||
`oxyloss` smallint(5) unsigned NOT NULL,
|
||||
`toxloss` smallint(5) unsigned NOT NULL,
|
||||
`cloneloss` smallint(5) unsigned NOT NULL,
|
||||
`cloneloss` smallint(5) unsigned DEFAULT '0',
|
||||
`staminaloss` smallint(5) unsigned NOT NULL,
|
||||
`last_words` varchar(255) DEFAULT NULL,
|
||||
`suicide` tinyint(1) NOT NULL DEFAULT '0',
|
||||
|
||||
Reference in New Issue
Block a user