Remove references to afl_filter

Removed in 1.38 (Ic6b1c8a22d17a301faf32d2e23778d90c41c39de), so no need
to rename it (plus, the rename will fail if the index is not there).
Removing the index is taken care of by patch-remove-afl_filter.sql.

Bug: T291725
Change-Id: I32f116ce7ac0fdd25fe13f0665a5cf04766e6f27
This commit is contained in:
Daimona Eaytoy 2021-10-17 19:26:44 +02:00
parent f2e2f5ae48
commit ce71c23bb0

View file

@ -5,12 +5,10 @@ ALTER TABLE /*_*/abuse_filter
ADD INDEX /*i*/af_group_enabled(af_group,af_enabled,af_id);
ALTER TABLE /*_*/abuse_filter_log
DROP INDEX /*i*/filter_timestamp,
DROP INDEX /*i*/filter_timestamp_full,
DROP INDEX /*i*/user_timestamp,
DROP INDEX /*i*/page_timestamp,
DROP INDEX /*i*/ip_timestamp;
CREATE INDEX /*i*/afl_filter_timestamp ON /*$wgDBprefix*/abuse_filter_log (afl_filter,afl_timestamp);
CREATE INDEX /*i*/afl_filter_timestamp_full ON /*$wgDBprefix*/abuse_filter_log (afl_global,afl_filter_id,afl_timestamp);
CREATE INDEX /*i*/afl_user_timestamp ON /*$wgDBprefix*/abuse_filter_log (afl_user,afl_user_text,afl_timestamp);
CREATE INDEX /*i*/afl_page_timestamp ON /*$wgDBprefix*/abuse_filter_log (afl_namespace, afl_title, afl_timestamp);