Koha/installer/data/mysql/db_revs/210600043.pl
Jonathan Druart 849d7a3838 Bug 29386: DBRev 21.06.00.043
Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
2021-11-05 12:10:45 +01:00

14 lines
348 B
Perl
Executable file

use Modern::Perl;
return {
bug_number => "29386",
description => "Extend background_jobs.data to LONGTEXT",
up => sub {
my ($args) = @_;
my ($dbh, $out) = @$args{qw(dbh out)};
$dbh->do(q|
ALTER TABLE background_jobs
CHANGE COLUMN `data` `data` LONGTEXT DEFAULT NULL
|);
},
}