Koha/installer/data/mysql/db_revs/231200006.pl
Katrin Fischer 1a6686cb99
Bug 30230: DBRev 23.12.00.006
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
2024-01-29 12:25:11 +01:00

16 lines
449 B
Perl
Executable file

use Modern::Perl;
return {
bug_number => "30230",
description => "Add new list_borrowers permission",
up => sub {
my ($args) = @_;
my ( $dbh, $out ) = @$args{qw(dbh out)};
$dbh->do(
"INSERT IGNORE INTO permissions (module_bit, code, description) VALUES (4, 'list_borrowers', 'Search, list and view patrons')"
);
say $out "Added new permission 'list_borrowers'";
},
};