2022-02-24 09:35:12 +01:00
START TRANSACTION ;
2022-02-24 13:58:04 +01:00
ALTER TABLE ` tipam_vlan ` ADD COLUMN ` custom_id ` bigint ( 20 ) unsigned DEFAULT NULL ;
2022-03-25 12:19:41 +01:00
ALTER TABLE ` tuser_task_scheduled ` ADD COLUMN ` enabled ` TINYINT UNSIGNED NOT NULL DEFAULT 1 ;
2022-02-24 09:35:12 +01:00
2022-03-29 18:09:19 +02:00
ALTER TABLE ` tevent_filter ` ADD COLUMN ` custom_data ` VARCHAR ( 500 ) DEFAULT ' ' ;
ALTER TABLE ` tevent_filter ` ADD COLUMN ` custom_data_filter_type ` TINYINT UNSIGNED DEFAULT 0 ;
2022-03-28 13:48:33 +02:00
ALTER TABLE tagente MODIFY alias varchar ( 600 ) NOT NULL DEFAULT ' ' ;
ALTER TABLE tagente MODIFY nombre varchar ( 600 ) NOT NULL DEFAULT ' ' ;
2022-02-24 09:35:12 +01:00
2022-02-24 18:27:57 +01:00
UPDATE ` tuser_task ` SET ` parameters ` = ' a:3:{i:0;a:2:{s:11:"description";s:11:"Description";s:4:"type";s:4:"text";}i:1;a:3:{s:11:"description";s:20:"Save to disk in path";s:4:"type";s:6:"string";s:13:"default_value";s:21:"_%_ATTACHMENT_PATH_%_";}i:2;a:3:{s:11:"description";s:14:"Active backups";s:4:"type";s:6:"number";s:13:"default_value";i:3;}} ' WHERE ` function_name ` = ' cron_task_do_backup ' ;
CREATE TABLE IF NOT EXISTS ` tbackup ` (
` id ` SERIAL ,
` utimestamp ` BIGINT DEFAULT 0 ,
` filename ` VARCHAR ( 512 ) DEFAULT ' ' ,
` id_user ` VARCHAR ( 60 ) DEFAULT ' ' ,
` description ` MEDIUMTEXT ,
` pid ` INT UNSIGNED DEFAULT 0 ,
` filepath ` VARCHAR ( 512 ) DEFAULT ' ' ,
PRIMARY KEY ( ` id ` )
) ENGINE = InnoDB DEFAULT CHARSET = UTF8MB4 ;
2022-03-31 20:11:52 +02:00
ALTER TABLE ` treport_content ` ADD COLUMN ` macros_definition ` TEXT ;
ALTER TABLE ` treport_content ` ADD COLUMN ` render_definition ` TEXT ;
ALTER TABLE ` treport_content_template ` ADD COLUMN ` macros_definition ` TEXT ;
ALTER TABLE ` treport_content_template ` ADD COLUMN ` render_definition ` TEXT ;
2022-04-07 09:44:12 +02:00
2022-04-25 10:52:15 +02:00
DROP TABLE IF EXISTS ` tupdate_journal ` ;
DROP TABLE IF EXISTS ` tupdate ` ;
DROP TABLE IF EXISTS ` tupdate_package ` ;
2022-03-30 14:41:47 +02:00
CREATE TABLE ` tupdate_journal ` (
` id ` SERIAL ,
` utimestamp ` BIGINT DEFAULT 0 ,
` version ` VARCHAR ( 25 ) DEFAULT ' ' ,
` type ` VARCHAR ( 25 ) DEFAULT ' ' ,
` origin ` VARCHAR ( 25 ) DEFAULT ' ' ,
` id_user ` VARCHAR ( 250 ) NOT NULL DEFAULT ' '
) ENGINE = InnoDB DEFAULT CHARSET = UTF8MB4 ;
2022-02-24 18:27:57 +01:00
2022-02-24 09:35:12 +01:00
COMMIT ;