Bug 20517: DBRev 21.12.00.023
[koha.git] / installer / data / mysql / db_revs / 211200023.pl
1 use Modern::Perl;
2
3 return {
4     bug_number => "20517",
5     description => "Add SIP2SortBinMapping system preference",
6     up => sub {
7         my ($args) = @_;
8         my ($dbh, $out) = @$args{qw(dbh out)};
9         # Do you stuffs here
10         $dbh->do(q{
11             INSERT IGNORE INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `type` ) VALUES
12             ('SIP2SortBinMapping','',NULL,'Use the following mappings to determine the sort_bin of a returned item. The mapping should be on the form \"branchcode:item field:item field value:sort bin number\", with one mapping per line.','free');
13         });
14     },
15 };