Browse Source

DBRev 21.05.05.004

Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
21.05.x
Kyle Hall 3 years ago
parent
commit
78e28dc804
  1. 14
      installer/data/mysql/atomicupdate/bug_29386.pl
  2. 9
      installer/data/mysql/updatedatabase.pl

14
installer/data/mysql/atomicupdate/bug_29386.pl

@ -1,14 +0,0 @@
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
|);
},
}

9
installer/data/mysql/updatedatabase.pl

@ -24520,6 +24520,15 @@ if( CheckVersion( $DBversion ) ) {
NewVersion( $DBversion, "", "Koha 21.05.05 release" ); NewVersion( $DBversion, "", "Koha 21.05.05 release" );
} }
$DBversion = '21.05.05.004';
if( CheckVersion( $DBversion ) ) {
$dbh->do(q|
ALTER TABLE background_jobs
CHANGE COLUMN `data` `data` LONGTEXT DEFAULT NULL
|);
NewVersion( $DBversion, "29386", "Extend background_jobs.data to LONGTEXT" );
}
# SEE bug 13068 # SEE bug 13068
# if there is anything in the atomicupdate, read and execute it. # if there is anything in the atomicupdate, read and execute it.
my $update_dir = C4::Context->config('intranetdir') . '/installer/data/mysql/atomicupdate/'; my $update_dir = C4::Context->config('intranetdir') . '/installer/data/mysql/atomicupdate/';

Loading…
Cancel
Save