-- This file is automatically generated using maintenance/generateSchemaChangeSql.php.
-- Source: db_patches/abstractSchemaChanges/patch-add-af_actor.json
-- Do not modify this file directly.
-- See https://www.mediawiki.org/wiki/Manual:Schema_changes
ALTER TABLE abuse_filter
  ADD af_actor BIGINT DEFAULT 0 NOT NULL;

ALTER TABLE abuse_filter
  ALTER af_user
SET
  DEFAULT 0;

ALTER TABLE abuse_filter
  ALTER af_user_text
SET
  DEFAULT '';

CREATE INDEX af_actor ON abuse_filter (af_actor);
