Add comment to bound credentials (#17286)

* Add comment to bound credentials

* Bump version
This commit is contained in:
adamsong
2023-01-03 16:38:41 -05:00
committed by GitHub
parent aee8a8cdf4
commit 1e1bd3b3b9
4 changed files with 576 additions and 568 deletions

View File

@@ -1,13 +1,19 @@
Any time you make a change to the schema files, remember to increment the database schema version. Generally increment the minor number, major should be reserved for significant changes to the schema. Both values go up to 255.
The latest database version is 5.10; The query to update the schema revision table is:
The latest database version is 5.11; The query to update the schema revision table is:
INSERT INTO `schema_revision` (`major`, `minor`) VALUES (5, 10);
INSERT INTO `schema_revision` (`major`, `minor`) VALUES (5, 11);
or
INSERT INTO `SS13_schema_revision` (`major`, `minor`) VALUES (5, 10);
INSERT INTO `SS13_schema_revision` (`major`, `minor`) VALUES (5, 11);
In any query remember to add a prefix to the table names if you use one.
version 5.11 2023-01-03
Adds comment to credentials binding
ALTER TABLE `bound_credentials` ADD comment text NULL;
version 5.10 2022-05-18, alexkar598
Adds credentials binding

File diff suppressed because it is too large Load Diff

View File

@@ -123,6 +123,7 @@ CREATE TABLE `SS13_bound_credentials` (
`computerid` varchar(32) DEFAULT NULL,
`ip` int(10) unsigned DEFAULT NULL,
`flags` set('bypass_bans') DEFAULT NULL,
`comment` text NULL,
PRIMARY KEY (`id`),
KEY `idx_ckey_lookup` (`ckey`),
KEY `idx_cid_lookup` (`computerid`),

View File

@@ -21,7 +21,7 @@
* make sure you add an update to the schema_version stable in the db changelog
*/
#define DB_MINOR_VERSION 10
#define DB_MINOR_VERSION 11
//! ## Timing subsystem
/**