Koha/installer/data/mysql/db_revs/211200035.pl
Fridolin Somers 0f9e82f655 Bug 30226: DBRev 21.12.00.035
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2022-04-20 20:43:15 -10:00

13 lines
500 B
Perl
Executable file

use Modern::Perl;
return {
bug_number => "30226",
description => "Add the system preference AllowSetAutomaticRenewal",
up => sub {
my ($args) = @_;
my ($dbh, $out) = @$args{qw(dbh out)};
$dbh->do(q{
INSERT IGNORE INTO systempreferences (`variable`, `value`, `options`, `explanation`, `type` ) VALUES('AllowSetAutomaticRenewal', '1', NULL, 'If ON, allows staff to flag items for automatic renewal on the check out page', 'YesNo')
});
},
};