Koha/installer/data/mysql/db_revs/220600065.pl
Tomas Cohen Arazi 6fc1ddd144
Bug 25426: DBRev 22.06.00.065
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2022-10-18 09:38:05 -03:00

19 lines
585 B
Perl
Executable file

use Modern::Perl;
return {
bug_number => "25426",
description => "Add new syspref CircControlReturnsBranch",
up => sub {
my ($args) = @_;
my ($dbh, $out) = @$args{qw(dbh out)};
$dbh->do(q{
INSERT IGNORE INTO systempreferences VALUES (
'CircControlReturnsBranch','ItemHomeLibrary','ItemHomeLibrary|ItemHoldingLibrary|CheckInLibrary',
'Specify the agency that controls the return policy','Choice'
)
});
say $out "Added new system preference 'CircControlReturnsBranch'";
},
};