2013-09-16 Juan Manuel Ramon <juanmanuel.ramon@artica.es>

* pandoradb.sql
        pandoradb.postgreSQL.sql
        pandoradb.oracle.sql
        extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql
        extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql
        extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql: 
        Changed data type in field 'name' of 'tnetwork_component' table
        to TEXT/CLOB.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@8773 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
juanmanuelr 2013-09-16 09:55:48 +00:00
parent 8886667a16
commit 658c55c600
7 changed files with 28 additions and 4 deletions

View File

@ -1,3 +1,14 @@
2013-09-16 Juan Manuel Ramon <juanmanuel.ramon@artica.es>
* pandoradb.sql
pandoradb.postgreSQL.sql
pandoradb.oracle.sql
extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql
extras/pandoradb_migrate_4.0.x_to_5.0.oracle.sql
extras/pandoradb_migrate_4.0.x_to_5.0.postgreSQL.sql:
Changed data type in field 'name' of 'tnetwork_component' table
to TEXT/CLOB.
2013-09-13 Ramon Novoa <rnovoa@artica.es>
* godmode/setup/setup_netflow.php: Added a help tip to the

View File

@ -1154,3 +1154,7 @@ ALTER TABLE tagente_datos_inc DROP COLUMN id_adi;
UPDATE tconfig SET value = 'pandora_logo_head.png' WHERE token = 'custom_logo';
-- ---------------------------------------------------------------------
-- Table `tnetwork_component` (16/09/13)
-- ---------------------------------------------------------------------
ALTER TABLE `tnetwork_component` CHANGE COLUMN `name` `name` TEXT NOT NULL;

View File

@ -323,7 +323,6 @@ ALTER TABLE tnetwork_component ADD (macros CLOB default '');
ALTER TABLE tnetwork_component ADD (disabled_types_event CLOB default '');
ALTER TABLE tnetwork_component ADD (module_macros CLOB default '');
-- -----------------------------------------------------
-- Table tagente_modulo
-- -----------------------------------------------------
@ -1157,3 +1156,8 @@ ALTER TABLE tagente_datos_inc DROP COLUMN id_adi;
-- ---------------------------------------------------------------------
UPDATE tconfig SET value = 'pandora_logo_head.png' WHERE token = 'custom_logo';
-- ---------------------------------------------------------------------
-- Table `tnetwork_component` (16/09/13)
-- ---------------------------------------------------------------------
ALTER TABLE tnetwork_component MODIFY (name CLOB NOT NULL);

View File

@ -1140,3 +1140,8 @@ ALTER TABLE tagente_datos_inc DROP COLUMN id_adi;
-- ---------------------------------------------------------------------
UPDATE tconfig SET value = 'pandora_logo_head.png' WHERE token = 'custom_logo';
-- ---------------------------------------------------------------------
-- Table `tnetwork_component` (16/09/13)
-- ---------------------------------------------------------------------
ALTER TABLE "tnetwork_component" ALTER COLUMN "name" TYPE text NOT NULL;

View File

@ -658,7 +658,7 @@ CREATE OR REPLACE TRIGGER tmodule_group_inc BEFORE INSERT ON tmodule_group REFER
CREATE TABLE tnetwork_component (
id_nc NUMBER(10, 0) NOT NULL PRIMARY KEY,
name VARCHAR2(80) NOT NULL,
name CLOB NOT NULL,
description VARCHAR2(300) default NULL,
id_group NUMBER(10, 0) default 1 NOT NULL,
type NUMBER(10, 0) default 6 NOT NULL,

View File

@ -557,7 +557,7 @@ CREATE TABLE "tmodule_group" (
CREATE TYPE type_tlocal_component_wizard_level AS ENUM ('basic','advanced','nowizard');
CREATE TABLE "tnetwork_component" (
"id_nc" SERIAL NOT NULL PRIMARY KEY,
"name" varchar(80) NOT NULL,
"name" text NOT NULL,
"description" varchar(250) default NULL,
"id_group" INTEGER NOT NULL default 1,
"type" INTEGER NOT NULL default 6,

View File

@ -610,7 +610,7 @@ CREATE TABLE IF NOT EXISTS `tmodule_group` (
-- ----------------------------------------------------------------------
CREATE TABLE IF NOT EXISTS `tnetwork_component` (
`id_nc` int(10) unsigned NOT NULL auto_increment,
`name` varchar(80) NOT NULL,
`name` text NOT NULL,
`description` varchar(250) default NULL,
`id_group` int(6) NOT NULL default '1',
`type` smallint(6) NOT NULL default '6',