Koha/installer/data/mysql/db_revs/221200025.pl
Tomas Cohen Arazi 601c597726
Bug 32745: DBRev 22.12.00.025
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
2023-05-05 09:13:31 -03:00

15 lines
351 B
Perl
Executable file

use Modern::Perl;
return {
bug_number => "32745",
description => "Update context={} for invalid background jobs",
up => sub {
my ($args) = @_;
my ($dbh, $out) = @$args{qw(dbh out)};
$dbh->do(q{
UPDATE background_jobs
SET context="{}"
WHERE context IS NULL
});
},
};