Koha/installer/data/mysql/db_revs/230600026.pl
Tomas Cohen Arazi a06396c282
Bug 34748: DBRev 23.06.00.026
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2023-09-25 10:53:46 -03:00

17 lines
545 B
Perl
Executable file

use Modern::Perl;
return {
bug_number => "34748",
description => "Fix column name in column configuration for basket summary",
up => sub {
my ($args) = @_;
my ( $dbh, $out ) = @$args{qw(dbh out)};
# Do you stuffs here
$dbh->do(
q{UPDATE columns_settings SET columnname="order_line" WHERE columnname="basket_number" AND module="acqui" AND page="basket" and tablename="orders"}
);
say $out "Update column configuration with new columnname order_line";
},
};