2011-04-06 Javier Lanz <javier.lanz@artica.es>
* pandoradb.sql: Added 'id_group' & 'id_module_group' fields to treport_content table * pandoradb.postgreSQL.sql: Added 'id_group' & 'id_module_group' fields to treport_content table * pandoradb.oracle.sql: Added 'id_group' & 'id_module_group' fields to treport_content table * extras/pandoradb_migrate_v3.2_to_v4.0.sql: Added 'id_group' & 'id_module_group' fields to treport_content table git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@4176 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
parent
ee963b0ae0
commit
d0346fc2f5
|
@ -1,3 +1,14 @@
|
||||||
|
2011-04-06 Javier Lanz <javier.lanz@artica.es>
|
||||||
|
|
||||||
|
* pandoradb.sql: Added 'id_group' & 'id_module_group' fields to
|
||||||
|
treport_content table
|
||||||
|
* pandoradb.postgreSQL.sql: Added 'id_group' & 'id_module_group' fields
|
||||||
|
to treport_content table
|
||||||
|
* pandoradb.oracle.sql: Added 'id_group' & 'id_module_group' fields to
|
||||||
|
treport_content table
|
||||||
|
* extras/pandoradb_migrate_v3.2_to_v4.0.sql: Added 'id_group' &
|
||||||
|
'id_module_group' fields to treport_content table
|
||||||
|
|
||||||
2011-04-06 Miguel de Dios <miguel.dedios@artica.es>
|
2011-04-06 Miguel de Dios <miguel.dedios@artica.es>
|
||||||
* include/functions_graph.php: wip in the function
|
* include/functions_graph.php: wip in the function
|
||||||
"graphic_combined_module2".
|
"graphic_combined_module2".
|
||||||
|
|
|
@ -40,6 +40,8 @@ ALTER TABLE `treport_content` ADD COLUMN `show_resume` INT NOT NULL DEFAULT 0;
|
||||||
ALTER TABLE `treport_content` ADD COLUMN `order_uptodown` INT NOT NULL DEFAULT 0;
|
ALTER TABLE `treport_content` ADD COLUMN `order_uptodown` INT NOT NULL DEFAULT 0;
|
||||||
ALTER TABLE `treport_content` ADD COLUMN `show_graph` INT NOT NULL DEFAULT 0;
|
ALTER TABLE `treport_content` ADD COLUMN `show_graph` INT NOT NULL DEFAULT 0;
|
||||||
ALTER TABLE `treport_content` ADD COLUMN `group_by_agent` INT NOT NULL DEFAULT 0;
|
ALTER TABLE `treport_content` ADD COLUMN `group_by_agent` INT NOT NULL DEFAULT 0;
|
||||||
|
ALTER TABLE `treport_content` ADD COLUMN `id_group` int (10) unsigned NOT NULL DEFAULT 0;
|
||||||
|
ALTER TABLE `treport_content` ADD COLUMN `id_module_group` int (10) unsigned NOT NULL DEFAULT 0;
|
||||||
|
|
||||||
-- -----------------------------------------------------
|
-- -----------------------------------------------------
|
||||||
-- Table `treport_content_item`
|
-- Table `treport_content_item`
|
||||||
|
|
|
@ -931,7 +931,9 @@ CREATE TABLE treport_content (
|
||||||
order_uptodown NUMBER(10, 0) default 0 NOT NULL,
|
order_uptodown NUMBER(10, 0) default 0 NOT NULL,
|
||||||
show_graph NUMBER(10, 0) default 0 NOT NULL,
|
show_graph NUMBER(10, 0) default 0 NOT NULL,
|
||||||
group_by_agent NUMBER(10, 0) default 0 NOT NULL,
|
group_by_agent NUMBER(10, 0) default 0 NOT NULL,
|
||||||
style NCLOB default '' NOT NULL
|
style NCLOB default '' NOT NULL,
|
||||||
|
id_group NUMBER(10, 0) default 0 NOT NULL,
|
||||||
|
id_module_group NUMBER(10, 0) default 0 NOT NULL
|
||||||
);
|
);
|
||||||
|
|
||||||
CREATE SEQUENCE treport_content_s INCREMENT BY 1 START WITH 1;
|
CREATE SEQUENCE treport_content_s INCREMENT BY 1 START WITH 1;
|
||||||
|
|
|
@ -751,7 +751,9 @@ CREATE TABLE "treport_content" (
|
||||||
"order_uptodown" INTEGER NOT NULL default 0,
|
"order_uptodown" INTEGER NOT NULL default 0,
|
||||||
"show_graph" INTEGER NOT NULL default 0,
|
"show_graph" INTEGER NOT NULL default 0,
|
||||||
"group_by_agent" INTEGER NOT NULL default 0,
|
"group_by_agent" INTEGER NOT NULL default 0,
|
||||||
"style" TEXT NOT NULL DEFAULT ''
|
"style" TEXT NOT NULL DEFAULT '',
|
||||||
|
"id_group" INTEGER NOT NULL default 0,
|
||||||
|
"id_module_group" INTEGER NOT NULL default 0
|
||||||
);
|
);
|
||||||
|
|
||||||
CREATE TABLE "treport_content_sla_combined" (
|
CREATE TABLE "treport_content_sla_combined" (
|
||||||
|
|
|
@ -824,6 +824,8 @@ CREATE TABLE IF NOT EXISTS `treport_content` (
|
||||||
`show_graph` INT NOT NULL default 0,
|
`show_graph` INT NOT NULL default 0,
|
||||||
`group_by_agent` INT NOT NULL default 0,
|
`group_by_agent` INT NOT NULL default 0,
|
||||||
`style` TEXT NOT NULL DEFAULT '',
|
`style` TEXT NOT NULL DEFAULT '',
|
||||||
|
`id_group` INT (10) unsigned NOT NULL DEFAULT 0,
|
||||||
|
`id_module_group` INT (10) unsigned NOT NULL DEFAULT 0,
|
||||||
PRIMARY KEY(`id_rc`),
|
PRIMARY KEY(`id_rc`),
|
||||||
FOREIGN KEY (`id_report`) REFERENCES treport(`id_report`)
|
FOREIGN KEY (`id_report`) REFERENCES treport(`id_report`)
|
||||||
ON UPDATE CASCADE ON DELETE CASCADE
|
ON UPDATE CASCADE ON DELETE CASCADE
|
||||||
|
|
Loading…
Reference in New Issue