Bug 27726: DBRev 20.12.00.029

Signed-off-by: Jonathan Druart <jonathan.druart@bugs.koha-community.org>
(cherry picked from commit 611d3aa483)
Signed-off-by: Fridolin Somers <fridolin.somers@biblibre.com>
This commit is contained in:
Jonathan Druart 2021-04-12 13:25:56 +00:00 committed by Fridolin Somers
parent 65c8579373
commit e7b4411d9d
3 changed files with 8 additions and 7 deletions

View File

@ -29,7 +29,7 @@ use vars qw{ $VERSION };
# - #4 : the developer version. The 4th number is the database subversion.
# used by developers when the database changes. updatedatabase take care of the changes itself
# and is automatically called by Auth.pm when needed.
$VERSION = "20.11.04.000";
$VERSION = "20.11.04.001";
sub version {
return $VERSION;

View File

@ -1,6 +0,0 @@
$DBversion = 'XXX'; # will be replaced by the RM
if( CheckVersion( $DBversion ) ) {
$dbh->do("ALTER TABLE problem_reports MODIFY content TEXT NOT NULL");
NewVersion( $DBversion, 27726, "Increase field size for problem_reports.content");
}

View File

@ -23513,6 +23513,13 @@ if( CheckVersion( $DBversion ) ) {
NewVersion( $DBversion, "", "Koha 20.11.04 release" );
}
$DBversion = '20.11.04.001';
if( CheckVersion( $DBversion ) ) {
$dbh->do("ALTER TABLE problem_reports MODIFY content TEXT NOT NULL");
NewVersion( $DBversion, 27726, "Increase field size for problem_reports.content");
}
# SEE bug 13068
# if there is anything in the atomicupdate, read and execute it.
my $update_dir = C4::Context->config('intranetdir') . '/installer/data/mysql/atomicupdate/';