Bug 20076: DBRev 21.11.01.004
[koha.git] / installer / data / mysql / db_revs / 211101004.pl
1 use Modern::Perl;
2
3 return {
4     bug_number => "20076",
5     description => "Add system preference EmailOverduesNoEmail",
6     up => sub {
7         my ($args) = @_;
8         my ($dbh, $out) = @$args{qw(dbh out)};
9
10         $dbh->do(q{
11             INSERT IGNORE INTO systempreferences (`variable`,`value`,`options`,`explanation`,`type`)
12             VALUES ('EmailOverduesNoEmail','1',NULL,'Send send overdues of patrons without email address to staff', 'YesNo')
13         });
14     },
15 }