This task is for tracking the migration (T220791) on WMF wikis.
===Steps===
[x] Create the new schema
[x] Merge [[https://gerrit.wikimedia.org/r/c/mediawiki/extensions/AbuseFilter/+/459818/ | r459818]]
[x] Set the Beta Cluster migration stage to `SCHEMA_COMPAT_WRITE_OLD | SCHEMA_COMPAT_READ_OLD`
[x] Set the Beta Cluster migration stage to `SCHEMA_COMPAT_WRITE_BOTH | SCHEMA_COMPAT_READ_OLD`
[x] Let the migration script run automatically on the Beta Cluster
[x] Set the Beta Cluster migration stage to `SCHEMA_COMPAT_WRITE_BOTH | SCHEMA_COMPAT_READ_NEW`
[x] Set the migration stage to `SCHEMA_COMPAT_WRITE_OLD | SCHEMA_COMPAT_READ_OLD` ([[https://gerrit.wikimedia.org/r/647091|r647091]])
[x] Set the migration stage to `SCHEMA_COMPAT_WRITE_BOTH | SCHEMA_COMPAT_READ_OLD` ([[https://gerrit.wikimedia.org/r/647116|r647116]])
[x] Run the migration script (T269713)
[x] Set the Beta Cluster migration stage to `SCHEMA_COMPAT_NEW`
[x] Set the migration stage to `SCHEMA_COMPAT_WRITE_BOTH | SCHEMA_COMPAT_READ_NEW` ([[https://gerrit.wikimedia.org/r/657695|657695]])
[ ] Ensure there are no issues
[ ] Set the migration stage to `SCHEMA_COMPAT_NEW` ([[https://gerrit.wikimedia.org/r/657696|657696]])
[ ] Make `SCHEMA_COMPAT_NEW` the extension default
[ ] Stop setting the migration stage ([[https://gerrit.wikimedia.org/r/657695|657697]])