Koha/installer/data/mysql/db_revs/211200043.pl
Fridolin Somers 305b526909 Bug 30108: DBRev 21.12.00.043
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2022-05-02 11:22:58 -10:00

14 lines
465 B
Perl
Executable file

use Modern::Perl;
return {
bug_number => 30108,
description => "Add preference OPACMandatoryHoldDates",
up => sub {
my ($args) = @_;
my ($dbh, $out) = @$args{qw(dbh out)};
$dbh->do(q{
INSERT IGNORE INTO systempreferences (`variable`, `value`, `options`, `explanation`, `type` ) VALUES
('OPACMandatoryHoldDates', '', '|start|end|both', 'Define which hold dates are required on OPAC reserve form', 'Choice')
});
},
};