mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-19 20:15:47 +01:00
Fixes inconsistent tab/space issue in schema (#91127)
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 Nothing at all anyone will ever notice besides the people looking at this file in the repo
This commit is contained in:
@@ -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.34 (for bubberstation) (5.32 for /tg/); The query to update the schema revision table is:
|
||||
The latest database version is 5.34 (for bubberstation) (5.31 for /tg/); The query to update the schema revision table is:
|
||||
|
||||
```sql
|
||||
INSERT INTO `schema_revision` (`major`, `minor`) VALUES (5, 34);
|
||||
@@ -18,16 +18,6 @@ In any query remember to add a prefix to the table names if you use one.
|
||||
|
||||
---
|
||||
|
||||
Version 5.32, 31 May 2025, by TealSeer
|
||||
Change column name of `manifest` table because `character` is a reserved word.
|
||||
|
||||
```sql
|
||||
ALTER TABLE `manifest`
|
||||
RENAME COLUMN `character` TO `character_name`;
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
Version 5.31, 3 May 2025, by Atlanta-Ned
|
||||
Adds a `manifest` table.
|
||||
|
||||
|
||||
@@ -118,7 +118,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,
|
||||
|
||||
@@ -117,7 +117,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,
|
||||
|
||||
Reference in New Issue
Block a user