2012-08-17 Sancho Lerena <slerena@artica.es>

* pandoradb.sql
        pandoradb.postgreSQL.sql
        pandoradb.oracle.sql
        extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql:New fields for
        tagente_modulo.



git-svn-id: https://svn.code.sf.net/p/pandora/code/trunk@6880 c3f86ba8-e40f-0410-aaad-9ba5e7f4b01f
This commit is contained in:
slerena 2012-08-17 18:11:02 +00:00
parent 44ac0709ba
commit 49f4e814f0
5 changed files with 27 additions and 1 deletions

View File

@ -1,3 +1,11 @@
2012-08-17 Sancho Lerena <slerena@artica.es>
* pandoradb.sql
pandoradb.postgreSQL.sql
pandoradb.oracle.sql
extras/pandoradb_migrate_4.0.x_to_5.0.mysql.sql:New fields for
tagente_modulo.
2012-08-17 Miguel de Dios <miguel.dedios@artica.es>
* godmode/users/configure_user.php: fixed when the metaconsole is

View File

@ -297,3 +297,11 @@ WHERE id_recon_script=1;
-- -----------------------------------------------------
ALTER TABLE trecon_task MODIFY subnet TEXT NOT NULL DEFAULT '';
ALTER TABLE trecon_task MODIFY field1 TEXT NOT NULL DEFAULT '';
ALTER TABLE tagente_modulo ADD `critical_instructions` text;
ALTER TABLE tagente_modulo ADD `warning_instructions` text;
ALTER TABLE tagente_modulo ADD `unknown_instructions` text;

View File

@ -210,6 +210,9 @@ CREATE TABLE tagente_modulo (
custom_integer_2 NUMBER(10, 0) default 0,
wizard_level VARCHAR2(100) default 'nowizard' NOT NULL,
macros CLOB default '',
critical_instructions CLOB default '',
warning_instructions CLOB default '',
unknown_instructions CLOB default '',
CONSTRAINT t_agente_modulo_wizard_level_cons CHECK (wizard_level IN ('basic','advanced','custom','nowizard'))
);
CREATE INDEX tagente_modulo_id_agente_idx ON tagente_modulo(id_agente);

View File

@ -189,7 +189,10 @@ CREATE TABLE "tagente_modulo" (
"custom_integer_1" INTEGER default 0,
"custom_integer_2" INTEGER default 0,
"wizard_level" type_tagente_modulo_wizard_level default 'nowizard',
"macros" TEXT default ''
"macros" TEXT default '',
"critical_instructions" TEXT default '',
"warning_instructions" TEXT default '',
"unknown_instructions" TEXT default ''
);
CREATE INDEX "tagente_modulo_id_agente_idx" ON "tagente_modulo"("id_agente");
CREATE INDEX "tagente_modulo_id_tipo_modulo_idx" ON "tagente_modulo"("id_tipo_modulo");

View File

@ -208,6 +208,10 @@ CREATE TABLE IF NOT EXISTS `tagente_modulo` (
`custom_integer_2` int(10) default 0,
`wizard_level` enum('basic','advanced','custom','nowizard') default 'nowizard',
`macros` text,
`critical_instructions` text,
`warning_instructions` text,
`unknown_instructions` text,
PRIMARY KEY (`id_agente_modulo`),
KEY `main_idx` (`id_agente_modulo`,`id_agente`),
KEY `tam_agente` (`id_agente`),