Koha/installer/data/mysql/db_revs/230600079.pl
Tomas Cohen Arazi a1c9799f91
Bug 12133: DBRev 23.06.00.079
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2023-11-10 10:59:42 -03:00

19 lines
576 B
Perl
Executable file

use Modern::Perl;
return {
bug_number => "12133",
description => "Add system preference ChildNeedsGuarantor",
up => sub {
my ($args) = @_;
my ( $dbh, $out ) = @$args{qw(dbh out)};
$dbh->do(
q{
INSERT IGNORE INTO systempreferences (variable,value,explanation,options,type)
VALUES('ChildNeedsGuarantor', 0, 'If ON, a child patron must have a guarantor when adding the patron.', '', 'YesNo');
}
);
say $out "Added new system preference 'ChildNeedsGuarantor'";
},
};