Bug 27349: (QA follow-up) Move DB update to perl file and add description

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
This commit is contained in:
Nick Clemens 2021-01-08 14:37:30 +00:00 committed by Jonathan Druart
parent 557d2137d6
commit 37b5a14f4c
2 changed files with 5 additions and 1 deletions

View file

@ -0,0 +1,5 @@
$DBversion = 'XXX';
if( CheckVersion( $DBversion ) ) {
$dbh->do(q{UPDATE systempreferences SET `type` = 'Choice' WHERE `variable` = 'Mana'});
NewVersion( $DBversion, 27349, "Update type for Mana sytem preference to Choice");
}

View file

@ -1 +0,0 @@
UPDATE systempreferences SET `type` = 'Choice' WHERE `variable` = 'Mana';