mirror of
https://github.com/pandorafms/pandorafms.git
synced 2025-07-31 01:35:36 +02:00
supervisor added subtype to tmensajes
Former-commit-id: 650e7317a4fea4e44be850af1156024297396a16
This commit is contained in:
parent
9ea3980b26
commit
cf5716e569
@ -1886,13 +1886,13 @@ CREATE TABLE `tnotification_source` (
|
|||||||
--
|
--
|
||||||
-- Dumping data for table `tnotification_source`
|
-- Dumping data for table `tnotification_source`
|
||||||
--
|
--
|
||||||
INSERT INTO `tnotification_source`(`description`, `icon`, `max_postpone_time`, `user_editable`, `also_mail`) VALUES
|
INSERT INTO `tnotification_source`(`description`, `icon`, `max_postpone_time`, `enabled`, `user_editable`, `also_mail`) VALUES
|
||||||
("System status", "icono_info_mr.png", 86400, 1, 0),
|
("System status", "icono_info_mr.png", 86400, 1, 1, 0),
|
||||||
("Message", "icono_info_mr.png", 86400, 1, 0),
|
("Message", "icono_info_mr.png", 86400, 1, 1, 0),
|
||||||
("Pending task", "icono_info_mr.png", 86400, 1, 0),
|
("Pending task", "icono_info_mr.png", 86400, 1, 1, 0),
|
||||||
("Advertisement", "icono_info_mr.png", 86400, 1, 0),
|
("Advertisement", "icono_info_mr.png", 86400, 1, 1, 0),
|
||||||
("Official communication", "icono_info_mr.png", 86400, 1, 0),
|
("Official communication", "icono_info_mr.png", 86400, 1, 1, 0),
|
||||||
("Sugerence", "icono_info_mr.png", 86400, 1, 0);
|
("Sugerence", "icono_info_mr.png", 86400, 1, 1, 0);
|
||||||
|
|
||||||
-- -----------------------------------------------------
|
-- -----------------------------------------------------
|
||||||
-- Table `tmensajes`
|
-- Table `tmensajes`
|
||||||
@ -1901,6 +1901,7 @@ ALTER TABLE `tmensajes` ADD COLUMN `url` TEXT;
|
|||||||
ALTER TABLE `tmensajes` ADD COLUMN `response_mode` VARCHAR(200) DEFAULT NULL;
|
ALTER TABLE `tmensajes` ADD COLUMN `response_mode` VARCHAR(200) DEFAULT NULL;
|
||||||
ALTER TABLE `tmensajes` ADD COLUMN `citicity` INT(10) UNSIGNED DEFAULT '0';
|
ALTER TABLE `tmensajes` ADD COLUMN `citicity` INT(10) UNSIGNED DEFAULT '0';
|
||||||
ALTER TABLE `tmensajes` ADD COLUMN `id_source` BIGINT(20) UNSIGNED NOT NULL;
|
ALTER TABLE `tmensajes` ADD COLUMN `id_source` BIGINT(20) UNSIGNED NOT NULL;
|
||||||
|
ALTER TABLE `tmensajes` ADD COLUMN `subtype` VARCHAR(255) DEFAULT '';
|
||||||
ALTER TABLE `tmensajes` ADD CONSTRAINT `tsource_fk` FOREIGN KEY (`id_source`) REFERENCES `tnotification_source` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
|
ALTER TABLE `tmensajes` ADD CONSTRAINT `tsource_fk` FOREIGN KEY (`id_source`) REFERENCES `tnotification_source` (`id`) ON DELETE CASCADE ON UPDATE CASCADE
|
||||||
|
|
||||||
|
|
||||||
|
@ -1191,6 +1191,7 @@ CREATE TABLE IF NOT EXISTS `tmensajes` (
|
|||||||
`response_mode` VARCHAR(200) DEFAULT NULL,
|
`response_mode` VARCHAR(200) DEFAULT NULL,
|
||||||
`citicity` INT(10) UNSIGNED DEFAULT '0',
|
`citicity` INT(10) UNSIGNED DEFAULT '0',
|
||||||
`id_source` BIGINT(20) UNSIGNED NOT NULL,
|
`id_source` BIGINT(20) UNSIGNED NOT NULL,
|
||||||
|
`subtype` VARCHAR(255) DEFAULT '',
|
||||||
PRIMARY KEY (`id_mensaje`),
|
PRIMARY KEY (`id_mensaje`),
|
||||||
UNIQUE KEY `id_mensaje` (`id_mensaje`),
|
UNIQUE KEY `id_mensaje` (`id_mensaje`),
|
||||||
KEY `tsource_fk` (`id_source`),
|
KEY `tsource_fk` (`id_source`),
|
||||||
|
@ -1271,11 +1271,10 @@ INSERT INTO tlog_graph_models VALUES (1, 'Apache log model',
|
|||||||
--
|
--
|
||||||
-- Dumping data for table `tnotification_source`
|
-- Dumping data for table `tnotification_source`
|
||||||
--
|
--
|
||||||
INSERT INTO `tnotification_source`(`description`, `icon`, `max_postpone_time`, `user_editable`, `also_mail`) VALUES
|
INSERT INTO `tnotification_source`(`description`, `icon`, `max_postpone_time`, `enabled`, `user_editable`, `also_mail`) VALUES
|
||||||
("System status", "icono_info_mr.png", 86400, 1, 0),
|
("System status", "icono_info_mr.png", 86400, 1, 1, 0),
|
||||||
("Message", "icono_info_mr.png", 86400, 1, 0),
|
("Message", "icono_info_mr.png", 86400, 1, 1, 0),
|
||||||
("Pending task", "icono_info_mr.png", 86400, 1, 0),
|
("Pending task", "icono_info_mr.png", 86400, 1, 1, 0),
|
||||||
("Advertisement", "icono_info_mr.png", 86400, 1, 0),
|
("Advertisement", "icono_info_mr.png", 86400, 1, 1, 0),
|
||||||
("Official communication", "icono_info_mr.png", 86400, 1, 0),
|
("Official communication", "icono_info_mr.png", 86400, 1, 1, 0),
|
||||||
("Sugerence", "icono_info_mr.png", 86400, 1, 0);
|
("Sugerence", "icono_info_mr.png", 86400, 1, 1, 0);
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user