mirror of
https://github.com/yogstation13/Yogstation.git
synced 2025-02-26 09:04:50 +00:00
Add comment to bound credentials (#17286)
* Add comment to bound credentials * Bump version
This commit is contained in:
@@ -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
@@ -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`),
|
||||
|
||||
@@ -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
|
||||
/**
|
||||
|
||||
Reference in New Issue
Block a user