diff --git a/pandora_console/pandoradb.sql b/pandora_console/pandoradb.sql index c825db39f6..a76c6e9208 100644 --- a/pandora_console/pandoradb.sql +++ b/pandora_console/pandoradb.sql @@ -1007,7 +1007,7 @@ CREATE TABLE IF NOT EXISTS `tusuario` ( `metaconsole_access_node` tinyint(1) unsigned NOT NULL default 0, `strict_acl` tinyint(1) unsigned NOT NULL DEFAULT 0, `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`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8;