diff --git a/pandora_console/extras/mr/30.sql b/pandora_console/extras/mr/30.sql index cb71a4bd4d..84e5adfa3e 100644 --- a/pandora_console/extras/mr/30.sql +++ b/pandora_console/extras/mr/30.sql @@ -12,17 +12,6 @@ ALTER TABLE `tmodule_relationship` ADD COLUMN `type` ENUM('direct', 'failover') ALTER TABLE `treport_content` MODIFY COLUMN `name` varchar(300) NULL; -CREATE TABLE `ttask_credentials` ( - `id_rt` int(10) unsigned NOT NULL, - `identifier` varchar(100) NOT NULL, - PRIMARY KEY (`id_rt`,`identifier`), - KEY `identifier` (`identifier`), - FOREIGN KEY (`id_rt`) REFERENCES `trecon_task` (`id_rt`) - ON DELETE CASCADE ON UPDATE CASCADE, - FOREIGN KEY (`identifier`) REFERENCES `tcredential_store` (`identifier`) - ON DELETE CASCADE ON UPDATE CASCADE -) ENGINE=InnoDB DEFAULT CHARSET=utf8; - CREATE TABLE `tagent_repository` ( `id` SERIAL, `id_os` INT(10) UNSIGNED DEFAULT 0, diff --git a/pandora_console/extras/pandoradb_migrate_6.0_to_7.0.mysql.sql b/pandora_console/extras/pandoradb_migrate_6.0_to_7.0.mysql.sql index b0e1ccb447..1f759afabd 100644 --- a/pandora_console/extras/pandoradb_migrate_6.0_to_7.0.mysql.sql +++ b/pandora_console/extras/pandoradb_migrate_6.0_to_7.0.mysql.sql @@ -2221,20 +2221,6 @@ CREATE TABLE IF NOT EXISTS `tcredential_store` ( -- --------------------------------------------------------------------- ALTER TABLE `treport_content_sla_combined` ADD `id_agent_module_failover` int(10) unsigned NOT NULL; --- ---------------------------------------------------------------------- --- Table `ttask_credentials` --- ---------------------------------------------------------------------- -CREATE TABLE `ttask_credentials` ( - `id_rt` int(10) unsigned NOT NULL, - `identifier` varchar(100) NOT NULL, - PRIMARY KEY (`id_rt`,`identifier`), - KEY `identifier` (`identifier`), - FOREIGN KEY (`id_rt`) REFERENCES `trecon_task` (`id_rt`) - ON DELETE CASCADE ON UPDATE CASCADE, - FOREIGN KEY (`identifier`) REFERENCES `tcredential_store` (`identifier`) - ON DELETE CASCADE ON UPDATE CASCADE -) ENGINE=InnoDB DEFAULT CHARSET=utf8; - -- --------------------------------------------------------------------- -- Table `tagent_repository` -- --------------------------------------------------------------------- diff --git a/pandora_console/pandoradb.sql b/pandora_console/pandoradb.sql index 8bd1c531b2..d1de66ab07 100644 --- a/pandora_console/pandoradb.sql +++ b/pandora_console/pandoradb.sql @@ -810,20 +810,6 @@ CREATE TABLE IF NOT EXISTS `trecon_task` ( KEY `recon_task_daemon` (`id_recon_server`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8; --- ---------------------------------------------------------------------- --- Table `ttask_credentials` --- ---------------------------------------------------------------------- -CREATE TABLE `ttask_credentials` ( - `id_rt` int(10) unsigned NOT NULL, - `identifier` varchar(100) NOT NULL, - PRIMARY KEY (`id_rt`,`identifier`), - KEY `identifier` (`identifier`), - FOREIGN KEY (`id_rt`) REFERENCES `trecon_task` (`id_rt`) - ON DELETE CASCADE ON UPDATE CASCADE, - FOREIGN KEY (`identifier`) REFERENCES `tcredential_store` (`identifier`) - ON DELETE CASCADE ON UPDATE CASCADE -) ENGINE=InnoDB DEFAULT CHARSET=utf8; - -- ---------------------------------------------------------------------- -- Table `tmodule_relationship` -- ----------------------------------------------------------------------