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:
alexkar598
2021-08-25 19:10:19 -04:00
committed by GitHub
parent dd12feeedb
commit 266cc701e3
4 changed files with 16 additions and 6 deletions

View File

@@ -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