Revert "Drop duplicate index wiki_timestamp"

This reverts commit 6a268e7339.

Reason for revert: Ic1252efe9f96743d9402fa31a7b2dca1f57ff6ae ended up not renaming the index, so this patch removed an index that was still in use.

Change-Id: Ide4a600a57bcfa4da0c7354b972cc89709ccd660
This commit is contained in:
Daimona Eaytoy 2020-09-23 10:39:19 +00:00
parent 40c7ca43cb
commit 816b490939
2 changed files with 0 additions and 7 deletions

View file

@ -1,3 +0,0 @@
-- Drop wiki_timestamp index; it was previously created on MySQL only, it's now named afl_wiki_timestamp for uniformity
DROP INDEX /*i*/wiki_timestamp ON /*_*/abuse_filter_log;

View file

@ -503,10 +503,6 @@ class AbuseFilterHooks {
$updater->addExtensionUpdate( [ 'addField', 'abuse_filter',
'af_group', "$dir/db_patches/patch-af_group.sql", true ] );
$updater->dropExtensionIndex(
'abuse_filter_log', 'wiki_timestamp',
"$dir/db_patches/patch-drop-wiki_timestamp-index.sql"
);
$updater->addExtensionIndex(
'abuse_filter_log', 'afl_wiki_timestamp',
"$dir/db_patches/patch-global_logging_wiki-index.sql"