From 13fc352fcaecdd2064f7e935c4a8677f87adfd45 Mon Sep 17 00:00:00 2001 From: mdtrooper Date: Mon, 9 May 2011 10:13:35 +0000 Subject: [PATCH] 2011-05-09 Miguel de Dios * pandoradb.postgreSQL.sql: fixed the type of cell "id_agente_modulo" in the table "tagente_datos_string". git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4318 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f --- pandora_console/ChangeLog | 5 +++++ pandora_console/pandoradb.postgreSQL.sql | 6 +++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 28da5bc42e..3ee085740c 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,8 @@ +2011-05-09 Miguel de Dios + + * pandoradb.postgreSQL.sql: fixed the type of cell "id_agente_modulo" in the + table "tagente_datos_string". + 2011-05-06 Dario Rodriguez * include/graphs/functions_gd.php: Added new parameter to function diff --git a/pandora_console/pandoradb.postgreSQL.sql b/pandora_console/pandoradb.postgreSQL.sql index af0826da4c..432189436c 100644 --- a/pandora_console/pandoradb.postgreSQL.sql +++ b/pandora_console/pandoradb.postgreSQL.sql @@ -89,14 +89,18 @@ CREATE TABLE "tagente_datos_inc" ( ); CREATE INDEX "tagente_datos_inc_id_agente_modulo_idx" ON "tagente_datos_inc"("id_agente_modulo"); + + CREATE TABLE "tagente_datos_string" ( - "id_agente_modulo" INTEGER NOT NULL PRIMARY KEY, + "id_agente_modulo" INTEGER NOT NULL default 0, "datos" TEXT NOT NULL, "utimestamp" INTEGER NOT NULL default 0 ); CREATE INDEX "tagente_datos_string_id_agente_modulo_idx" ON "tagente_datos_string"("id_agente_modulo"); CREATE INDEX "tagente_datos_string_utimestamp_idx" ON "tagente_datos_string"("utimestamp"); + + CREATE TABLE "tagente_datos_log4x" ( "id_tagente_datos_log4x" BIGSERIAL NOT NULL PRIMARY KEY, "id_agente_modulo" INTEGER NOT NULL default 0,