-- This file is automatically generated using maintenance/generateSchemaChangeSql.php.
-- Source: schema/abstractSchemaChanges/patch-cusi_case-add-sic_status_changed_by.json
-- Do not modify this file directly.
-- See https://www.mediawiki.org/wiki/Manual:Schema_changes
ALTER TABLE cusi_case
  ADD sic_status_changed_by INT DEFAULT NULL;

CREATE INDEX sic_status_changed_by_updated_timestamp_id ON cusi_case (
  sic_status_changed_by, sic_updated_timestamp,
  sic_id
);
