Bug 13142: DBRev 21.12.00.055
[koha.git] / installer / data / mysql / db_revs / 211200035.pl
1 use Modern::Perl;
2
3 return {
4     bug_number => "30226",
5     description => "Add the system preference AllowSetAutomaticRenewal",
6     up => sub {
7         my ($args) = @_;
8         my ($dbh, $out) = @$args{qw(dbh out)};
9         $dbh->do(q{
10             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')
11         });
12     },
13 };