-- This file is automatically generated using maintenance/generateSchemaChangeSql.php.
-- Source: schema/abstractSchemaChanges/patch-cusi_signal-add-sis_trigger_id.json
-- Do not modify this file directly.
-- See https://www.mediawiki.org/wiki/Manual:Schema_changes
DROP INDEX `primary` ON /*_*/cusi_signal;

ALTER TABLE /*_*/cusi_signal
  ADD sis_trigger_id BIGINT UNSIGNED DEFAULT 0 NOT NULL,
  ADD sis_trigger_type TINYINT(1) DEFAULT 0 NOT NULL;

ALTER TABLE /*_*/cusi_signal
  ADD PRIMARY KEY (
    sis_name, sis_value, sis_sic_id, sis_trigger_id,
    sis_trigger_type
  );
