Added database changes

This commit is contained in:
José González 2022-06-16 11:14:00 +02:00
parent 871e1cc0c0
commit ea60e4be71
2 changed files with 19 additions and 2 deletions

View File

@ -4,4 +4,13 @@ ALTER TABLE `tservice` ADD COLUMN `enable_sunburst` tinyint(1) NOT NULL default
ALTER TABLE `tdashboard` MODIFY `name` TEXT NOT NULL DEFAULT '';
ALTER TABLE `tevent_alert` ADD COLUMN `field1_recovery` text DEFAULT '' AFTER `recovery_notify`;
ALTER TABLE `tevent_alert` ADD COLUMN `field4_recovery` text DEFAULT '' AFTER `field3_recovery`;
ALTER TABLE `tevent_alert` ADD COLUMN `field5_recovery` text DEFAULT '' AFTER `field4_recovery`;
ALTER TABLE `tevent_alert` ADD COLUMN `field6_recovery` text DEFAULT '' AFTER `field5_recovery`;
ALTER TABLE `tevent_alert` ADD COLUMN `field7_recovery` text DEFAULT '' AFTER `field6_recovery`;
ALTER TABLE `tevent_alert` ADD COLUMN `field8_recovery` text DEFAULT '' AFTER `field7_recovery`;
ALTER TABLE `tevent_alert` ADD COLUMN `field0_recovery` text DEFAULT '' AFTER `field8_recovery`;
ALTER TABLE `tevent_alert` ADD COLUMN `field10_recovery` text DEFAULT '' AFTER `field9_recovery`;
COMMIT;

View File

@ -3016,8 +3016,16 @@ CREATE TABLE IF NOT EXISTS `tevent_alert` (
`saturday` TINYINT DEFAULT 1,
`sunday` TINYINT DEFAULT 1,
`recovery_notify` TINYINT DEFAULT 0,
`field2_recovery` TEXT ,
`field3_recovery` TEXT,
`field1_recovery` TEXT DEFAULT '',
`field2_recovery` TEXT DEFAULT '',
`field3_recovery` TEXT DEFAULT '',
`field4_recovery` TEXT DEFAULT '',
`field5_recovery` TEXT DEFAULT '',
`field6_recovery` TEXT DEFAULT '',
`field7_recovery` TEXT DEFAULT '',
`field8_recovery` TEXT DEFAULT '',
`field9_recovery` TEXT DEFAULT '',
`field10_recovery` TEXT DEFAULT '',
`id_group` MEDIUMINT UNSIGNED NULL DEFAULT 0,
`internal_counter` INT DEFAULT 0,
`last_fired` BIGINT NOT NULL DEFAULT 0,