Koha/installer/data/mysql/db_revs/230600064.pl
Tomas Cohen Arazi 2b6ec7064e
Bug 34557: DBRev 23.06.00.064
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2023-11-08 11:41:13 -03:00

19 lines
627 B
Perl
Executable file

use Modern::Perl;
return {
bug_number => "34557",
description => "Add system preference SCOLoadCheckoutsByDefault",
up => sub {
my ($args) = @_;
my ( $dbh, $out ) = @$args{qw(dbh out)};
$dbh->do(
q{
INSERT IGNORE INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `type` ) VALUES
('SCOLoadCheckoutsByDefault','1','','If enabled, load the list of a patrons checkouts when they log in to the Self Checkout','YesNo')
}
);
say $out "Added new system preference 'SCOLoadCheckoutsByDefault'";
},
};