Skip to content

Commit

Permalink
Updates the database changelog and sql schema version (#2637)
Browse files Browse the repository at this point in the history
  • Loading branch information
Bokkiewokkie authored May 4, 2024
1 parent fa3b881 commit 14a7a69
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 2 deletions.
2 changes: 1 addition & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"**/.pnp.*": true
},
"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
"source.fixAll.eslint": "explicit"
},
"files.eol": "\n",
"files.insertFinalNewline": true,
Expand Down
2 changes: 1 addition & 1 deletion SQL/beestation_schema.sql
Original file line number Diff line number Diff line change
Expand Up @@ -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);



Expand Down
31 changes: 31 additions & 0 deletions SQL/database_changelog.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 14a7a69

Please sign in to comment.