Bug 32256: Use a new SCOBatchCheckoutsValidCategories syspref
[koha.git] / installer / data / mysql / atomicupdate / bug_32256_-_Add_SCOBatchCheckoutsValidCategories_syspref.pl
1 use Modern::Perl;
2
3 return {
4     bug_number  => "32256",
5     description => "Self checkout batch mode",
6     up          => sub {
7         my ($args) = @_;
8         my ( $dbh, $out ) = @$args{qw(dbh out)};
9
10         $dbh->do(
11             q{ INSERT IGNORE INTO systempreferences (variable,value,options,explanation,type) VALUES ('SCOBatchCheckoutsValidCategories','',NULL,'Patron categories allowed to checkout in a batch while logged into Self Checkout','Free') }
12         );
13
14         say $out "Added system preference 'SCOBatchCheckoutsValidCategories'";
15     },
16 };