Skip to content

Commit

Permalink
Merge pull request #29 from ticgal/fix/update-config-table
Browse files Browse the repository at this point in the history
Fix: Update config table
  • Loading branch information
inesmv authored Oct 3, 2022
2 parents 2488bf2 + eadc7ed commit c06988b
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
6 changes: 6 additions & 0 deletions inc/config.class.php
Original file line number Diff line number Diff line change
Expand Up @@ -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');
Expand All @@ -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);
}
}
Expand Down

0 comments on commit c06988b

Please sign in to comment.