Koha/installer/data/mysql/db_revs/211200055.pl
Fridolin Somers fb0eecfc6e Bug 13142: DBRev 21.12.00.055
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2022-05-10 23:09:09 -10:00

16 lines
841 B
Perl
Executable file

use Modern::Perl;
return {
bug_number => "13412",
description => "Add GenerateAuthorityField667 and GenerateAuthorityField670 system preferences",
up => sub {
my ($args) = @_;
my ($dbh, $out) = @$args{qw(dbh out)};
$dbh->do(q{
INSERT IGNORE INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `type` ) VALUES
( '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' ),
( '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' )
});
},
};