2012-01-13 Vanessa Gil <vanessa.gil@artica.es>

* pandoradb.oracle.sql
	  pandoradb.postgreSQL.sql
	  pandoradb_migrate_4.0.x_to_4.1.mysql.sql
	  pandoradb_migrate_4.0.x_to_4.1.oracle.sql
	  pandoradb_migrate_4.0.x_to_4.1.postgreSQL.sql: Update
	table tnetflow_report_content.


git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@5366 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
vgilc 2012-01-13 12:11:00 +00:00
parent bd1a864498
commit 9275406929
6 changed files with 18 additions and 4 deletions

View File

@ -1,3 +1,12 @@
2012-01-13 Vanessa Gil <vanessa.gil@artica.es>
* pandoradb.oracle.sql
pandoradb.postgreSQL.sql
pandoradb_migrate_4.0.x_to_4.1.mysql.sql
pandoradb_migrate_4.0.x_to_4.1.oracle.sql
pandoradb_migrate_4.0.x_to_4.1.postgreSQL.sql: Update
table tnetflow_report_content.
2012-01-13 Vanessa Gil <vanessa.gil@artica.es>
* godmode/netflow/nf_item_list.php

View File

@ -39,6 +39,7 @@ CREATE TABLE IF NOT EXISTS `tnetflow_report_content` (
`period` int(11) NOT NULL default 0,
`max` int (11) NOT NULL default 0,
`show_graph` varchar(60),
`order` int (11) NOT NULL default 0,
PRIMARY KEY(`id_rc`),
FOREIGN KEY (`id_report`) REFERENCES tnetflow_report(`id_report`)
ON UPDATE CASCADE ON DELETE CASCADE,

View File

@ -48,7 +48,8 @@ id_filter NUMBER(10,0) NOT NULL REFERENCES tnetflow_filter(id_sg) ON DELETE CASC
"date" NUMBER(20, 0) default 0 NOT NULL,
period NUMBER(11, 0) default 0 NOT NULL,
max NUMBER(11, 0) default 0 NOT NULL,
show_graph VARCHAR2(60)
show_graph VARCHAR2(60),
"order" NUMBER(11,0) default 0 NOT NULL
);
CREATE SEQUENCE tnetflow_report_content_s INCREMENT BY 1 START WITH 1;

View File

@ -39,6 +39,7 @@ CREATE TABLE "tnetflow_report_content" (
"date" BIGINT NOT NULL default 0,
"period" INTEGER NOT NULL default 0,
"max" INTEGER NOT NULL default 0,
"show_graph" varchar(60)
"show_graph" varchar(60),
"order" INTEGER NOT NULL default 0
);

View File

@ -1520,7 +1520,8 @@ id_filter NUMBER(10,0) NOT NULL REFERENCES tnetflow_filter(id_sg) ON DELETE CASC
"date" NUMBER(20, 0) default 0 NOT NULL,
period NUMBER(11, 0) default 0 NOT NULL,
max NUMBER(11, 0) default 0 NOT NULL,
show_graph VARCHAR2(60)
show_graph VARCHAR2(60),
"order" NUMBER(11,0) default 0 NOT NULL
);
CREATE SEQUENCE tnetflow_report_content_s INCREMENT BY 1 START WITH 1;

View File

@ -1225,5 +1225,6 @@ CREATE TABLE "tnetflow_report_content" (
"date" BIGINT NOT NULL default 0,
"period" INTEGER NOT NULL default 0,
"max" INTEGER NOT NULL default 0,
"show_graph" varchar(60)
"show_graph" varchar(60),
"order" INTEGER NOT NULL default 0
);