Increment version for 22.05.18 release
[koha.git] / installer / data / mysql / db_revs / 211200055.pl
1 use Modern::Perl;
2
3 return {
4     bug_number => "13412",
5     description => "Add GenerateAuthorityField667 and GenerateAuthorityField670 system preferences",
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` ) VALUES
12             ( 'GenerateAuthorityField667', 'Machine generated authority record', NULL, 'When BiblioAddsAuthorities and AutoCreateAuthorities are enabled, use this as a default value for the 667$a field of MARC21 records', 'free' ),
13             ( 'GenerateAuthorityField670', 'Work cat.', NULL, 'When BiblioAddsAuthorities and AutoCreateAuthorities are enabled, use this as a default value for the 670$a field of MARC21 records', 'free' )
14          });
15     },
16 };