mirror of
https://github.com/fulpstation/fulpstation.git
synced 2025-12-09 07:54:14 +00:00
[MDB IGNORE] November TGU (#406)
* TGU * mappings * how did i not notice this * test * fix to huds * departmental request consoles * Armsky * tgu * deletes cryopods (finally) * Update tgstation.dme * deletes pubby's cryopods * Fixes helio and selene toxin ranges * injector to vent on all supermatters * map fixes * directional 5/6 cameras are now fixed * stool directionals on selene * . * re-adds kindred archives
This commit is contained in:
@@ -2,12 +2,26 @@ Any time you make a change to the schema files, remember to increment the databa
|
||||
|
||||
The latest database version is 5.17; The query to update the schema revision table is:
|
||||
|
||||
INSERT INTO `schema_revision` (`major`, `minor`) VALUES (5, 17);
|
||||
INSERT INTO `schema_revision` (`major`, `minor`) VALUES (5, 18);
|
||||
or
|
||||
INSERT INTO `SS13_schema_revision` (`major`, `minor`) VALUES (5, 17);
|
||||
INSERT INTO `SS13_schema_revision` (`major`, `minor`) VALUES (5, 18);
|
||||
|
||||
In any query remember to add a prefix to the table names if you use one.
|
||||
|
||||
-----------------------------------------------------
|
||||
Version 5.18, 1 November 2021, by Mothblocks
|
||||
Added `known_alts` table for tracking who not to create suspicious logins for.
|
||||
|
||||
```
|
||||
CREATE TABLE `known_alts` (
|
||||
`id` INT NOT NULL AUTO_INCREMENT,
|
||||
`ckey1` VARCHAR(32) NOT NULL,
|
||||
`ckey2` VARCHAR(32) NOT NULL,
|
||||
PRIMARY KEY (`id`),
|
||||
UNIQUE INDEX `unique_contraints` (`ckey1` , `ckey2`)
|
||||
);
|
||||
```
|
||||
|
||||
-----------------------------------------------------
|
||||
Version 5.17, 8 October 2021, by MrStonedOne + Mothblocks
|
||||
Changes any table that requrired a NOT NULL round ID to now accept NULL. In the BSQL past, these were handled as 0, but in the move to rust-g this behavior was lost.
|
||||
|
||||
@@ -663,6 +663,18 @@ CREATE TABLE `admin_connections` (
|
||||
UNIQUE INDEX `unique_constraints` (`ckey`, `ip`, `cid`)
|
||||
) ENGINE=InnoDB;
|
||||
|
||||
--
|
||||
-- Table structure for table `known_alts`
|
||||
--
|
||||
DROP TABLE IF EXISTS `known_alts`;
|
||||
CREATE TABLE `known_alts` (
|
||||
`id` INT NOT NULL AUTO_INCREMENT,
|
||||
`ckey1` VARCHAR(32) NOT NULL,
|
||||
`ckey2` VARCHAR(32) NOT NULL,
|
||||
PRIMARY KEY (`id`),
|
||||
UNIQUE INDEX `unique_contraints` (`ckey1` , `ckey2`)
|
||||
);
|
||||
|
||||
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
|
||||
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
|
||||
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
|
||||
|
||||
@@ -663,6 +663,18 @@ CREATE TABLE `SS13_admin_connections` (
|
||||
UNIQUE INDEX `unique_constraints` (`ckey`, `ip`, `cid`)
|
||||
) ENGINE=InnoDB;
|
||||
|
||||
--
|
||||
-- Table structure for table `known_alts`
|
||||
--
|
||||
DROP TABLE IF EXISTS `SS13_known_alts`;
|
||||
CREATE TABLE `SS13_known_alts` (
|
||||
`id` INT NOT NULL AUTO_INCREMENT,
|
||||
`ckey1` VARCHAR(32) NOT NULL,
|
||||
`ckey2` VARCHAR(32) NOT NULL,
|
||||
PRIMARY KEY (`id`),
|
||||
UNIQUE INDEX `unique_contraints` (`ckey1` , `ckey2`)
|
||||
);
|
||||
|
||||
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
|
||||
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
|
||||
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;
|
||||
|
||||
Reference in New Issue
Block a user