Fixed foreign key. Ticket #3930.
This commit is contained in:
parent
e963d59494
commit
b6181de25c
|
@ -1007,7 +1007,7 @@ CREATE TABLE IF NOT EXISTS `tusuario` (
|
||||||
`metaconsole_access_node` tinyint(1) unsigned NOT NULL default 0,
|
`metaconsole_access_node` tinyint(1) unsigned NOT NULL default 0,
|
||||||
`strict_acl` tinyint(1) unsigned NOT NULL DEFAULT 0,
|
`strict_acl` tinyint(1) unsigned NOT NULL DEFAULT 0,
|
||||||
`id_filter` int(10) unsigned NULL default NULL,
|
`id_filter` int(10) unsigned NULL default NULL,
|
||||||
CONSTRAINT `fk_id_filter` FOREIGN KEY (`id_filter`) REFERENCES tevent_filter (`id_filter`) ON DELETE SET NULL,
|
CONSTRAINT `fk_filter_id` FOREIGN KEY (`id_filter`) REFERENCES tevent_filter (`id_filter`) ON DELETE SET NULL,
|
||||||
UNIQUE KEY `id_user` (`id_user`)
|
UNIQUE KEY `id_user` (`id_user`)
|
||||||
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue