From 91ffd584b990aac8838ccbf4098d6e20d469bebe Mon Sep 17 00:00:00 2001 From: Ramon Novoa Date: Tue, 30 Jun 2015 16:33:20 +0200 Subject: [PATCH] Added back a column that was accidentally removed. --- pandora_console/pandoradb.sql | 3 +++ 1 file changed, 3 insertions(+) diff --git a/pandora_console/pandoradb.sql b/pandora_console/pandoradb.sql index bfdeb8cf43..761f277e25 100755 --- a/pandora_console/pandoradb.sql +++ b/pandora_console/pandoradb.sql @@ -658,6 +658,7 @@ CREATE TABLE IF NOT EXISTS `tmodule_group` ( -- ---------------------------------------------------------------------- CREATE TABLE IF NOT EXISTS `tmodule_relationship` ( `id` int(10) unsigned NOT NULL auto_increment, + `id_rt` int(10) unsigned NOT NULL DEFAULT 0, `module_a` int(10) unsigned NOT NULL, `module_b` int(10) unsigned NOT NULL, `disable_update` tinyint(1) unsigned NOT NULL default '0', @@ -665,6 +666,8 @@ CREATE TABLE IF NOT EXISTS `tmodule_relationship` ( FOREIGN KEY (`module_a`) REFERENCES tagente_modulo(`id_agente_modulo`) ON DELETE CASCADE, FOREIGN KEY (`module_b`) REFERENCES tagente_modulo(`id_agente_modulo`) + ON DELETE CASCADE, + FOREIGN KEY (`id_rt`) REFERENCES trecon_task(`id_rt`) ON DELETE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8;