From 32ac38d9efeb0363eebaaa2fe7345a28fd6f5a89 Mon Sep 17 00:00:00 2001 From: inesmv Date: Mon, 3 Oct 2022 17:55:11 +0200 Subject: [PATCH 1/2] Migration addFields and set to 0 --- inc/config.class.php | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/inc/config.class.php b/inc/config.class.php index 92b1370..249a8cb 100644 --- a/inc/config.class.php +++ b/inc/config.class.php @@ -239,6 +239,9 @@ public static function install(Migration $migration) { 'findrequest' => 0, 'change_df_min_val' => 0, 'df_min_validation' => 0, + 'recategorization' => 0, + 'hide_historical' => 0, + 'private_view' => 0, ]); }else{ $migration->addField($table, 'gototicket', 'boolean'); @@ -247,6 +250,9 @@ public static function install(Migration $migration) { $migration->addField($table, 'requestlabel', 'string'); $migration->addField($table, 'change_df_min_val', 'boolean'); $migration->addField($table, 'df_min_validation', 'int'); + $migration->addField($table, 'recategorization', 'boolean'); + $migration->addField($table, 'hide_historical', 'boolean'); + $migration->addField($table, 'private_view', 'boolean'); $migration->migrationOneTable($table); } } From eadc7ed6cacbe68b2be0a77575f4874d64a3cc12 Mon Sep 17 00:00:00 2001 From: inesmv Date: Mon, 3 Oct 2022 17:57:04 +0200 Subject: [PATCH 2/2] CHANGELOG updated --- CHANGELOG.md | 1 + 1 file changed, 1 insertion(+) diff --git a/CHANGELOG.md b/CHANGELOG.md index 9c56ed6..f5d3725 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -9,6 +9,7 @@ ### Bugfixes - Fix "Go to ticket" field display at horizontal layout #11396 - Change "Go to ticket" input size #11396 +- Migrate new config fields on update #11479 ## 2.0.0 ### Features