Added missing column 'ir_rt' of table 'tmodule_relationship' in migration script.

This commit is contained in:
Hirofumi Kosaka 2015-11-05 13:57:40 +09:00
parent d1c91d40b9
commit 43b3ef2d79
1 changed files with 2 additions and 1 deletions

View File

@ -64,6 +64,7 @@ CREATE TABLE IF NOT EXISTS `tmodule_relationship` (
`module_a` int(10) unsigned NOT NULL, `module_a` int(10) unsigned NOT NULL,
`module_b` int(10) unsigned NOT NULL, `module_b` int(10) unsigned NOT NULL,
`disable_update` tinyint(1) unsigned NOT NULL default '0', `disable_update` tinyint(1) unsigned NOT NULL default '0',
`id_rt` int(10) unsigned NOT NULL DEFAULT 0,
PRIMARY KEY (`id`), PRIMARY KEY (`id`),
FOREIGN KEY (`module_a`) REFERENCES tagente_modulo(`id_agente_modulo`) ON DELETE CASCADE, 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 (`module_b`) REFERENCES tagente_modulo(`id_agente_modulo`) ON DELETE CASCADE