From 7bfa0762635c73d056c1efb07c848e956293e0b6 Mon Sep 17 00:00:00 2001 From: Daniel Barbero Martin Date: Wed, 30 Oct 2019 14:52:10 +0100 Subject: [PATCH] fixed error bbdd --- pandora_console/extras/mr/33.sql | 2 +- pandora_console/extras/pandoradb_migrate_6.0_to_7.0.mysql.sql | 2 +- pandora_console/pandoradb.sql | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/pandora_console/extras/mr/33.sql b/pandora_console/extras/mr/33.sql index 9f9e857965..c34209b867 100644 --- a/pandora_console/extras/mr/33.sql +++ b/pandora_console/extras/mr/33.sql @@ -21,7 +21,7 @@ CREATE TABLE `tremote_command` ( CREATE TABLE `tremote_command_target` ( `id` SERIAL, - `rcmd_id` bigint unsigned NOT NULL unique, + `rcmd_id` bigint unsigned NOT NULL, `id_agente` int(10) unsigned NOT NULL, `utimestamp` int(20) unsigned NOT NULL default 0, `stdout` text, diff --git a/pandora_console/extras/pandoradb_migrate_6.0_to_7.0.mysql.sql b/pandora_console/extras/pandoradb_migrate_6.0_to_7.0.mysql.sql index d72c908400..d195823d7b 100644 --- a/pandora_console/extras/pandoradb_migrate_6.0_to_7.0.mysql.sql +++ b/pandora_console/extras/pandoradb_migrate_6.0_to_7.0.mysql.sql @@ -2320,7 +2320,7 @@ CREATE TABLE `tremote_command` ( -- ---------------------------------------------------------------------- CREATE TABLE `tremote_command_target` ( `id` SERIAL, - `rcmd_id` bigint unsigned NOT NULL unique, + `rcmd_id` bigint unsigned NOT NULL, `id_agente` int(10) unsigned NOT NULL, `utimestamp` int(20) unsigned NOT NULL default 0, `stdout` text, diff --git a/pandora_console/pandoradb.sql b/pandora_console/pandoradb.sql index 61eab5f300..1b235f6d01 100644 --- a/pandora_console/pandoradb.sql +++ b/pandora_console/pandoradb.sql @@ -3679,7 +3679,7 @@ CREATE TABLE `tremote_command` ( -- ---------------------------------------------------------------------- CREATE TABLE `tremote_command_target` ( `id` SERIAL, - `rcmd_id` bigint unsigned NOT NULL unique, + `rcmd_id` bigint unsigned NOT NULL, `id_agente` int(10) unsigned NOT NULL, `utimestamp` int(20) unsigned NOT NULL default 0, `stdout` text,