Merge branch 'ent-6932-Tags-no-entran-en-base-de-datos' into 'develop'

Ent 6932 tags no entran en base de datos

See merge request artica/pandorafms!3776
This commit is contained in:
Daniel Rodriguez 2021-01-25 10:15:29 +01:00
commit 9b92c5ff34
3 changed files with 4 additions and 1 deletions

View File

@ -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 `trecon_task` MODIFY COLUMN `review_mode` TINYINT(1) UNSIGNED DEFAULT 1;
ALTER TABLE `ttag` MODIFY COLUMN `name` text NOT NULL default '';
COMMIT; COMMIT;

View File

@ -1402,6 +1402,7 @@ ALTER TABLE `tmap` MODIFY COLUMN `id_user` varchar(250) NOT NULL DEFAULT '';
-- Table `ttag` -- Table `ttag`
-- --------------------------------------------------------------------- -- ---------------------------------------------------------------------
ALTER TABLE `ttag` ADD COLUMN `previous_name` text NULL; ALTER TABLE `ttag` ADD COLUMN `previous_name` text NULL;
ALTER TABLE `ttag` MODIFY COLUMN `name` text NOT NULL default '';
-- --------------------------------------------------------------------- -- ---------------------------------------------------------------------
-- Table `tconfig` -- Table `tconfig`

View File

@ -2070,7 +2070,7 @@ CREATE TABLE IF NOT EXISTS `tagent_custom_data` (
-- ---------------------------------------------------------------------- -- ----------------------------------------------------------------------
CREATE TABLE IF NOT EXISTS `ttag` ( CREATE TABLE IF NOT EXISTS `ttag` (
`id_tag` integer(10) unsigned NOT NULL auto_increment, `id_tag` integer(10) unsigned NOT NULL auto_increment,
`name` varchar(100) NOT NULL default '', `name` text NOT NULL default '',
`description` text NOT NULL, `description` text NOT NULL,
`url` mediumtext NOT NULL, `url` mediumtext NOT NULL,
`email` text NULL, `email` text NULL,