Koha/installer/data/mysql/db_revs/230600021.pl
Tomas Cohen Arazi b07ee89b54
Bug 33716: DBRev 23.06.00.021
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2023-09-19 16:34:38 -03:00

20 lines
649 B
Perl
Executable file

use Modern::Perl;
return {
bug_number => "33716",
description => "Add new ILLModuleDisclaimerByType 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 (
'ILLModuleDisclaimerByType', '', '', 'YAML defining disclaimer settings for each ILL request type',
'Textarea'
);
}
);
say $out "Added new system preference 'ILLModuleDisclaimerByType'";
},
};