Koha/installer/data/mysql/db_revs/231200013.pl
Katrin Fischer bc56fb9a28
Bug 23208: DBRev 23.12.00.013
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
2024-03-25 09:53:23 +01:00

19 lines
577 B
Perl
Executable file

use Modern::Perl;
return {
bug_number => "23208",
description => "Add system preference HoldRatioDefault",
up => sub {
my ($args) = @_;
my ( $dbh, $out ) = @$args{qw(dbh out)};
# Do you stuffs here
$dbh->do(
q{
INSERT IGNORE INTO systempreferences (`variable`,`value`,`options`,`explanation`,`type`)
VALUES ('HoldRatioDefault','3','','Default value for the Hold ratio report','Integer')
}
);
say $out "Added new system preference 'HoldRatioDefault'";
},
};