TGU: 2FA for admins, 2-person mech, hair gradients. Fish price halved!! (#220)

* So much win!

* um

maptick_??????
This commit is contained in:
SgtHunk
2021-06-18 21:46:15 -04:00
committed by GitHub
parent e84d917624
commit 81f8ffbc30
473 changed files with 8859 additions and 1841 deletions

View File

@@ -2,12 +2,28 @@ Any time you make a change to the schema files, remember to increment the databa
The latest database version is 5.14; The query to update the schema revision table is:
INSERT INTO `schema_revision` (`major`, `minor`) VALUES (5, 14);
INSERT INTO `schema_revision` (`major`, `minor`) VALUES (5, 15);
or
INSERT INTO `SS13_schema_revision` (`major`, `minor`) VALUES (5, 14);
INSERT INTO `SS13_schema_revision` (`major`, `minor`) VALUES (5, 15);
In any query remember to add a prefix to the table names if you use one.
-----------------------------------------------------
Version 5.15, 2 June 2021, by Mothblocks
Added verified admin connection log used for 2FA
```
DROP TABLE IF EXISTS `admin_connections`;
CREATE TABLE `admin_connections` (
`id` INT NOT NULL AUTO_INCREMENT,
`ckey` VARCHAR(32) NOT NULL,
`ip` INT(11) UNSIGNED NOT NULL,
`cid` VARCHAR(32) NOT NULL,
`verification_time` DATETIME NULL,
PRIMARY KEY (`id`),
UNIQUE INDEX `unique_constraints` (`ckey`, `ip`, `cid`));
```
-----------------------------------------------------
Version 5.14, xx May 2021, by Anturke

View File

@@ -630,6 +630,20 @@ CREATE TABLE `text_adventures` (
PRIMARY KEY (`id`)
) ENGINE=InnoDB;
--
-- Table structure for table `admin_connections`
--
DROP TABLE IF EXISTS `admin_connections`;
CREATE TABLE `admin_connections` (
`id` INT NOT NULL AUTO_INCREMENT,
`ckey` VARCHAR(32) NOT NULL,
`ip` INT(11) UNSIGNED NOT NULL,
`cid` VARCHAR(32) NOT NULL,
`verification_time` DATETIME NULL,
PRIMARY KEY (`id`),
UNIQUE INDEX `unique_constraints` (`ckey`, `ip`, `cid`)
) ENGINE=InnoDB;
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;

View File

@@ -630,6 +630,20 @@ CREATE TABLE `SS13_text_adventures` (
PRIMARY KEY (`id`)
) ENGINE=InnoDB;
--
-- Table structure for table `admin_connections`
--
DROP TABLE IF EXISTS `SS13_admin_connections`;
CREATE TABLE `SS13_admin_connections` (
`id` INT NOT NULL AUTO_INCREMENT,
`ckey` VARCHAR(32) NOT NULL,
`ip` INT(11) UNSIGNED NOT NULL,
`cid` VARCHAR(32) NOT NULL,
`verification_time` DATETIME NULL,
PRIMARY KEY (`id`),
UNIQUE INDEX `unique_constraints` (`ckey`, `ip`, `cid`)
) ENGINE=InnoDB;
/*!40101 SET SQL_MODE=@OLD_SQL_MODE */;
/*!40014 SET FOREIGN_KEY_CHECKS=@OLD_FOREIGN_KEY_CHECKS */;
/*!40014 SET UNIQUE_CHECKS=@OLD_UNIQUE_CHECKS */;