Koha/installer/data/mysql/db_revs/230600042.pl
Tomas Cohen Arazi 244bfd7abf
Bug 33845: DBRev 23.06.00.042
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2023-10-20 16:31:13 -03:00

19 lines
504 B
Perl
Executable file

use Modern::Perl;
return {
bug_number => "33845",
description => "Update holds_table column settings entries to holds-table",
up => sub {
my ($args) = @_;
my ( $dbh, $out ) = @$args{qw(dbh out)};
$dbh->do(
q{
UPDATE columns_settings SET tablename="holds-table"
WHERE page="circulation" and tablename="holds_table"
}
);
say $out "Update columns settings to use table name holds-table";
},
};