mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/AbuseFilter.git
synced 2024-09-23 18:28:20 +00:00
c091a2f749
Follow-up I574bda15f0f5c92a7d97a6e3150981b8f97ee7fc Apologies for not noticing before: If somebody hadn't already added the afl_filter_id column, the rename-indexes patch would try to rename a non-existing index (filter_timestamp_full and fail). So put rename-indexes after the other patch. Then, for the afl_filter_id patch, check the column and not the index. We were checking the index because it's the last thing that the DB patch does (so if the index is found, we can be certain that the patch was fully applied). However, now that renaming the index happens afterwards, if somebody had already added afl_filter_id (with the old index name), running the updater would try adding it again, because the new index name isn't found (as it's renamed later). Change-Id: I0250a7c187202facd932c160ace57930db510f64 |
||
---|---|---|
.phan | ||
db_patches | ||
i18n | ||
includes | ||
maintenance | ||
modules | ||
tests | ||
.eslintrc.json | ||
.gitignore | ||
.gitreview | ||
.phpcs.xml | ||
.stylelintrc.json | ||
AbuseFilter.alias.php | ||
CODE_OF_CONDUCT.md | ||
composer.json | ||
COPYING | ||
extension.json | ||
Gruntfile.js | ||
package-lock.json | ||
package.json |