diff --git a/pandora_console/extras/mr/37.sql b/pandora_console/extras/mr/37.sql index 50b4c04306..87a3e6a5ac 100644 --- a/pandora_console/extras/mr/37.sql +++ b/pandora_console/extras/mr/37.sql @@ -3,6 +3,7 @@ START TRANSACTION; ALTER TABLE trecon_task MODIFY COLUMN `id_network_profile` TEXT; ALTER TABLE `trecon_task` CHANGE COLUMN `create_incident` `direct_report` TINYINT(1) UNSIGNED DEFAULT 0; UPDATE `trecon_task` SET `direct_report` = 1; +ALTER TABLE `tnetwork_profile` ADD COLUMN `pen` TEXT; CREATE TABLE `tdiscovery_tmp_agents` ( `id` int(10) unsigned NOT NULL AUTO_INCREMENT, @@ -32,4 +33,6 @@ CREATE TABLE `tdiscovery_tmp_connections` ( REFERENCES `tdiscovery_tmp_agents` (`id`) ON DELETE CASCADE ON UPDATE CASCADE ) ENGINE=InnoDB DEFAULT CHARSET=utf8; +ALTE + COMMIT; diff --git a/pandora_console/extras/pandoradb_migrate_6.0_to_7.0.mysql.sql b/pandora_console/extras/pandoradb_migrate_6.0_to_7.0.mysql.sql index de53643ec9..945b4e6d38 100644 --- a/pandora_console/extras/pandoradb_migrate_6.0_to_7.0.mysql.sql +++ b/pandora_console/extras/pandoradb_migrate_6.0_to_7.0.mysql.sql @@ -1472,6 +1472,11 @@ ALTER TABLE tnetwork_component ADD COLUMN `dynamic_two_tailed` tinyint(1) unsign ALTER TABLE `tnetwork_component` ADD COLUMN `ff_type` tinyint(1) unsigned default '0'; ALTER TABLE `tnetwork_component` MODIFY COLUMN `ff_type` tinyint(1) unsigned NULL DEFAULT '0'; +-- ---------------------------------------------------------------------- +-- Table `tnetwork_profile` +-- ---------------------------------------------------------------------- +ALTER TABLE `tnetwork_profile` ADD COLUMN `pen` TEXT; + -- --------------------------------------------------------------------- -- Table `tagente` -- --------------------------------------------------------------------- diff --git a/pandora_console/pandoradb.sql b/pandora_console/pandoradb.sql index 360e3f8a3b..941381a04b 100644 --- a/pandora_console/pandoradb.sql +++ b/pandora_console/pandoradb.sql @@ -942,6 +942,7 @@ CREATE TABLE IF NOT EXISTS `tnetwork_profile` ( `id_np` int(10) unsigned NOT NULL auto_increment, `name` varchar(100) NOT NULL default '', `description` varchar(250) default '', + `pen` text default '', PRIMARY KEY (`id_np`) ) ENGINE=InnoDB DEFAULT CHARSET=utf8;