-- This file is automatically generated using maintenance/generateSchemaChangeSql.php.
-- Source: db_patches/abstractSchemaChanges/patch-add-afh_actor.json
-- Do not modify this file directly.
-- See https://www.mediawiki.org/wiki/Manual:Schema_changes
ALTER TABLE /*_*/abuse_filter_history
  ADD afh_actor BIGINT UNSIGNED DEFAULT 0 NOT NULL,
  CHANGE afh_user afh_user BIGINT UNSIGNED DEFAULT 0 NOT NULL,
  CHANGE afh_user_text afh_user_text VARBINARY(255) DEFAULT '' NOT NULL;

CREATE INDEX afh_actor ON /*_*/abuse_filter_history (afh_actor);
