Added back a column that was accidentally removed.

This commit is contained in:
Ramon Novoa 2015-06-30 16:33:20 +02:00
parent 1c719b3bde
commit 91ffd584b9
1 changed files with 3 additions and 0 deletions

View File

@ -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;