Koha/installer/data/mysql/db_revs/230600054.pl
Tomas Cohen Arazi 4ab24451a3
Bug 33887: DBRev 23.06.00.054
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2023-10-25 12:09:54 -03:00

17 lines
607 B
Perl
Executable file

use Modern::Perl;
return {
bug_number => "33887",
description => "Automatically fill the next hold with a automatic check in.",
up => sub {
my ($args) = @_;
my ( $dbh, $out ) = @$args{qw(dbh out)};
$dbh->do(
q{
INSERT IGNORE INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `type` ) VALUES ('AutomaticCheckinAutoFill', '0', NULL,'Automatically fill the next hold with an automatic checkin cronjob.', 'YesNo') }
);
say $out "Added new system preference 'AutomaticCheckinAutoFill'";
},
};