mirror of
https://github.com/yogstation13/Yogstation.git
synced 2025-02-26 09:04:50 +00:00
Adds an index on erro_connection_log for yogbot review command (#12065)
* Adds an index on erro_connection_log for yogbot review command * r * Comma * Wrong comma * Update database_changelog.txt
This commit is contained in:
@@ -1,13 +1,21 @@
|
||||
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.5; The query to update the schema revision table is:
|
||||
The latest database version is 5.6; The query to update the schema revision table is:
|
||||
|
||||
INSERT INTO `schema_revision` (`major`, `minor`) VALUES (5, 5);
|
||||
INSERT INTO `schema_revision` (`major`, `minor`) VALUES (5, 6);
|
||||
or
|
||||
INSERT INTO `SS13_schema_revision` (`major`, `minor`) VALUES (5, 5);
|
||||
INSERT INTO `SS13_schema_revision` (`major`, `minor`) VALUES (5, 6);
|
||||
|
||||
In any query remember to add a prefix to the table names if you use one.
|
||||
|
||||
version 5.6 14 August 2021, by alexkar598
|
||||
|
||||
Adds index on connection_log
|
||||
|
||||
create index idx_review
|
||||
on connection_log (ckey, computerid, ip);
|
||||
|
||||
|
||||
----------------------------------------------------
|
||||
|
||||
version 5.5 14 August 2021, by JamieD1
|
||||
|
||||
Reference in New Issue
Block a user