Koha/installer/data/mysql/db_revs/211200047.pl
Fridolin Somers b2c7bc84a2 Bug 28138: DBRev 21.12.00.047
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
2022-05-04 14:29:23 -10:00

15 lines
499 B
Perl
Executable file

use Modern::Perl;
return {
bug_number => "28138",
description => "Add system preference RequirePaymentType",
up => sub {
my ($args) = @_;
my ($dbh, $out) = @$args{qw(dbh out)};
# Do you stuffs here
$dbh->do(q{
INSERT IGNORE INTO systempreferences (`variable`,`value`,`options`,`explanation`,`type`)
VALUES ('RequirePaymentType','0','','Require staff to select a payment type when a payment is made','YesNo')
});
},
};