Koha/installer/data/mysql/db_revs/220600033.pl
Tomas Cohen Arazi fe3339528e
Bug 27779: DBRev 22.06.00.033
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2022-08-08 13:40:13 -03:00

15 lines
394 B
Perl
Executable file

use Modern::Perl;
return {
bug_number => "27779",
description => "Simplify credit descriptions",
up => sub {
my ($args) = @_;
my ($dbh, $out) = @$args{qw(dbh out)};
$dbh->do(q{
UPDATE account_credit_types
SET description = 'Refund' WHERE code = 'REFUND' AND description = 'A refund applied to a patrons fine';
});
},
}