diff --git a/pandora_console/ChangeLog b/pandora_console/ChangeLog index 91aa0e5c7b..3fbe226ec1 100644 --- a/pandora_console/ChangeLog +++ b/pandora_console/ChangeLog @@ -1,3 +1,12 @@ +2012-01-13 Vanessa Gil + + * 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 * godmode/netflow/nf_item_list.php diff --git a/pandora_console/extras/pandoradb_migrate_4.0.x_to_4.1.mysql.sql b/pandora_console/extras/pandoradb_migrate_4.0.x_to_4.1.mysql.sql index 79912b79ea..394c6a7032 100644 --- a/pandora_console/extras/pandoradb_migrate_4.0.x_to_4.1.mysql.sql +++ b/pandora_console/extras/pandoradb_migrate_4.0.x_to_4.1.mysql.sql @@ -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, diff --git a/pandora_console/extras/pandoradb_migrate_4.0.x_to_4.1.oracle.sql b/pandora_console/extras/pandoradb_migrate_4.0.x_to_4.1.oracle.sql index f6a9f0a8ec..f1a5bab71c 100644 --- a/pandora_console/extras/pandoradb_migrate_4.0.x_to_4.1.oracle.sql +++ b/pandora_console/extras/pandoradb_migrate_4.0.x_to_4.1.oracle.sql @@ -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; diff --git a/pandora_console/extras/pandoradb_migrate_4.0.x_to_4.1.postgreSQL.sql b/pandora_console/extras/pandoradb_migrate_4.0.x_to_4.1.postgreSQL.sql index 9043b3d4cc..9619ccf3bb 100644 --- a/pandora_console/extras/pandoradb_migrate_4.0.x_to_4.1.postgreSQL.sql +++ b/pandora_console/extras/pandoradb_migrate_4.0.x_to_4.1.postgreSQL.sql @@ -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 ); diff --git a/pandora_console/pandoradb.oracle.sql b/pandora_console/pandoradb.oracle.sql index 91b6f79095..5418d42652 100644 --- a/pandora_console/pandoradb.oracle.sql +++ b/pandora_console/pandoradb.oracle.sql @@ -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; diff --git a/pandora_console/pandoradb.postgreSQL.sql b/pandora_console/pandoradb.postgreSQL.sql index 7e85bcb109..cd56d1c013 100644 --- a/pandora_console/pandoradb.postgreSQL.sql +++ b/pandora_console/pandoradb.postgreSQL.sql @@ -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 );