diff --git a/pandora_console/extras/pandoradb_migrate_6.0_to_6.1.mysql.sql b/pandora_console/extras/pandoradb_migrate_6.0_to_6.1.mysql.sql index 253def1aa2..f3c50e5b12 100644 --- a/pandora_console/extras/pandoradb_migrate_6.0_to_6.1.mysql.sql +++ b/pandora_console/extras/pandoradb_migrate_6.0_to_6.1.mysql.sql @@ -1,19 +1,16 @@ -- --------------------------------------------------------------------- -- Table `talert_templates` -- --------------------------------------------------------------------- - ALTER TABLE talert_templates ADD COLUMN `min_alerts_reset_counter` tinyint(1) DEFAULT 0; -- ---------------------------------------------------------------------- -- Table `tserver` -- ---------------------------------------------------------------------- - ALTER TABLE tserver ADD COLUMN `server_keepalive` int(11) DEFAULT 0; -- ---------------------------------------------------------------------- -- Table `tagente_estado` -- ---------------------------------------------------------------------- - ALTER TABLE tagente_estado MODIFY `status_changes` tinyint(4) unsigned default 0; ALTER TABLE tagente_estado CHANGE `last_known_status` `known_status` tinyint(4) default 0; ALTER TABLE tagente_estado ADD COLUMN `last_known_status` tinyint(4) default 0; @@ -35,6 +32,22 @@ WHERE `id` = 4 AND `id_alert_command` = 11; -- --------------------------------------------------------------------- UPDATE `talert_commands` SET `fields_descriptions` = '[\"Integria IMS API path\",\"Integria IMS API pass\",\"Integria IMS user\",\"Integria IMS user pass\",\"Ticket title\",\"Ticket group ID\",\"Ticket priority\",\"Email copy\",\"Ticket owner\",\"Ticket description\"]', `fields_values` = '[\"\",\"\",\"\",\"\",\"\",\"\",\"10,Maintenance;0,Informative;1,Low;2,Medium;3,Serious;4,Very Serious\",\"\",\"\",\"\"]' WHERE `id` = 11 AND `name` = 'Integria IMS Ticket'; +-- --------------------------------------------------------------------- +-- Table `tmap` +-- --------------------------------------------------------------------- +ALTER TABLE tmap MODIFY `id_user` varchar(128); + +-- --------------------------------------------------------------------- +-- Table `titem` +-- --------------------------------------------------------------------- +ALTER TABLE titem MODIFY `source_data` int(10) unsigned; + +-- --------------------------------------------------------------------- +-- Table `trel_item` +-- --------------------------------------------------------------------- +ALTER TABLE trel_item ADD `id_parent_source_data` int(11) NOT NULL DEFAULT 0; +ALTER TABLE trel_item ADD `id_child_source_data` int(11) NOT NULL DEFAULT 0; + -- --------------------------------------------------------------------- -- Table `tconfig` -- ---------------------------------------------------------------------