Koha/installer/data/mysql/db_revs/231200035.pl
Katrin Fischer 882678f3e3
Bug 29393: DBRev 23.12.035
Signed-off-by: Katrin Fischer <katrin.fischer@bsz-bw.de>
2024-04-29 17:38:03 +02:00

16 lines
501 B
Perl
Executable file

use Modern::Perl;
return {
bug_number => "29393",
description => "Add permission borrowers:send_messages_to_borrowers",
up => sub {
my ($args) = @_;
my ( $dbh, $out ) = @$args{qw(dbh out)};
$dbh->do(
q{INSERT IGNORE INTO permissions (module_bit, code, description)
VALUES (4, 'send_messages_to_borrowers', 'Send messages to patrons')}
);
say $out "Added new permission 'send_messages_to_borrowers'";
},
}