icingaweb2-module-director/schema/mysql-changes/upgrade_30.sql

14 lines
434 B
MySQL
Raw Normal View History

DROP TABLE import_row_modifier_settings;
CREATE TABLE import_row_modifier_setting (
modifier_id INT UNSIGNED NOT NULL,
setting_name VARCHAR(64) NOT NULL,
setting_value TEXT DEFAULT NULL,
PRIMARY KEY (modifier_id, setting_name),
CONSTRAINT sync_modifier_param_modifier
FOREIGN KEY modifier (modifier_id)
REFERENCES sync_modifier (id)
ON DELETE CASCADE
ON UPDATE CASCADE
) ENGINE=InnoDB DEFAULT CHARSET=utf8;