mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-11-23 21:53:35 +00:00
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:
parent
40c7ca43cb
commit
816b490939
|
@ -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;
|
|
@ -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"
|
||||
|
|
Loading…
Reference in a new issue