diff --git a/pandora_console/extras/mr/44.sql b/pandora_console/extras/mr/44.sql index 59c8d11051..c2f7676195 100644 --- a/pandora_console/extras/mr/44.sql +++ b/pandora_console/extras/mr/44.sql @@ -135,4 +135,6 @@ UPDATE `trecon_script` SET `description`='Specific Pandora FMS In ALTER TABLE `trecon_task` MODIFY COLUMN `review_mode` TINYINT(1) UNSIGNED DEFAULT 1; +ALTER TABLE `ttag` MODIFY COLUMN `name` text NOT NULL default ''; + 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 2944f71a90..8c204943db 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 @@ -1402,6 +1402,7 @@ ALTER TABLE `tmap` MODIFY COLUMN `id_user` varchar(250) NOT NULL DEFAULT ''; -- Table `ttag` -- --------------------------------------------------------------------- ALTER TABLE `ttag` ADD COLUMN `previous_name` text NULL; +ALTER TABLE `ttag` MODIFY COLUMN `name` text NOT NULL default ''; -- --------------------------------------------------------------------- -- Table `tconfig` diff --git a/pandora_console/pandoradb.sql b/pandora_console/pandoradb.sql index b245484c83..090e87fd2e 100644 --- a/pandora_console/pandoradb.sql +++ b/pandora_console/pandoradb.sql @@ -2070,7 +2070,7 @@ CREATE TABLE IF NOT EXISTS `tagent_custom_data` ( -- ---------------------------------------------------------------------- CREATE TABLE IF NOT EXISTS `ttag` ( `id_tag` integer(10) unsigned NOT NULL auto_increment, - `name` varchar(100) NOT NULL default '', + `name` text NOT NULL default '', `description` text NOT NULL, `url` mediumtext NOT NULL, `email` text NULL,