During the https://gerrit.wikimedia.org/r/40329 (rEABF2fcb9e51dfa218534d2), Bryan noticed the following index should be unique:
afl_log_id abuse_filter_log(afl_log_id)
Version: REL1_20-branch
See Also:
T40371: Impossible to install AbuseFilter with SQLite
T46790: Sqlite category table contains duplicates in unit tests