Bug 35063: (follow-up) Adjust dbrevs to the reference format
[koha.git] / installer / data / mysql / db_revs / 230600040.pl
1 use Modern::Perl;
2
3 return {
4     bug_number  => "25816",
5     description => "Add OPAC messages in SIP display",
6     up          => sub {
7         my ($args) = @_;
8         my ( $dbh, $out ) = @$args{qw(dbh out)};
9
10         $dbh->do(
11             q{
12             INSERT IGNORE INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `type` ) VALUES
13             ('SIP2AddOpacMessagesToScreenMessage','0','','If enabled, patron OPAC messages will be included in the SIP2 screen message','YesNo')
14         }
15         );
16
17         say $out "Added new system preference 'SIP2AddOpacMessagesToScreenMessage'";
18     },
19 };