Fixed module relationships. Ticket#2766
This commit is contained in:
parent
5c1fdcde8a
commit
2d36697db8
|
@ -163,6 +163,7 @@ DROP TABLE `tgis_map_has_tgis_map_connection`;
|
|||
ALTER TABLE `tmodule_relationship`
|
||||
--ADD COLUMN `id_rt` int(10) unsigned NOT NULL DEFAULT 0,
|
||||
ADD FOREIGN KEY (`id_rt`) REFERENCES trecon_task(`id_rt`) ON DELETE CASCADE;
|
||||
ALTER TABLE tmodule_relationship MODIFY `id_rt` int(10) unsigned NULL default NULL;
|
||||
|
||||
-- ---------------------------------------------------------------------
|
||||
-- Table `tevent_filter`
|
||||
|
|
|
@ -697,7 +697,7 @@ CREATE TABLE IF NOT EXISTS `trecon_task` (
|
|||
-- ----------------------------------------------------------------------
|
||||
CREATE TABLE IF NOT EXISTS `tmodule_relationship` (
|
||||
`id` int(10) unsigned NOT NULL auto_increment,
|
||||
`id_rt` int(10) unsigned NOT NULL DEFAULT 0,
|
||||
`id_rt` int(10) unsigned DEFAULT NULL,
|
||||
`module_a` int(10) unsigned NOT NULL,
|
||||
`module_b` int(10) unsigned NOT NULL,
|
||||
`disable_update` tinyint(1) unsigned NOT NULL default '0',
|
||||
|
|
Loading…
Reference in New Issue