Bug 12446: (QA follow-up) Minor kohastructure.sql fix
[koha.git] / installer / data / mysql / db_revs / 220600001.pl
1 use Modern::Perl;
2
3 return {
4     bug_number => "23659",
5     description => "Add DefaultHoldPickupLocation syspref",
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             ('DefaultHoldPickupLocation','loggedinlibrary','loggedinlibrary|homebranch|holdingbranch','Which branch should a hold pickup location default to. ','choice')
13         });
14         # Print useful stuff here
15         say $out "Added DefaultHoldPickupLocation syspref";
16     },
17 };