Koha/installer/data/mysql/db_revs/230600033.pl
Tomas Cohen Arazi 51e67a2642
Bug 34075: DBRev 23.06.00.033
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2023-10-10 10:54:03 -03:00

17 lines
588 B
Perl
Executable file

use Modern::Perl;
return {
bug_number => "34075",
description => "Add DefaultAuthorityTab system preference",
up => sub {
my ($args) = @_;
my ( $dbh, $out ) = @$args{qw(dbh out)};
$dbh->do(
q{
INSERT IGNORE INTO systempreferences ( `variable`, `value`, `options`, `explanation`, `type` ) VALUES
('DefaultAuthorityTab','0','0|1|2|3|4|5|6|7|8|9','Default tab to show when displaying authorities','Choice')
}
);
say $out "Added new system preference 'DefaultAuthorityTab'";
},
};