Bug 21617: DBRev 18.06.00.042

Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
This commit is contained in:
Nick Clemens 2018-10-19 16:50:40 +00:00
parent ad20a30a83
commit 8150058b38
3 changed files with 9 additions and 8 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 = "18.06.00.041";
$VERSION = "18.06.00.042";
sub version {
return $VERSION;

View file

@ -1,7 +0,0 @@
$DBversion = 'XXX'; # will be replaced by the RM
if( CheckVersion( $DBversion ) ) {
$dbh->do( "alter table statistics change column ccode ccode varchar(80) default NULL" );
SetVersion( $DBversion );
print "Upgrade to $DBversion done (Bug 21617: Make statistics.ccode longer)\n";
}

View file

@ -16670,6 +16670,14 @@ if( CheckVersion( $DBversion ) ) {
print "Upgrade to $DBversion done (Bug 20772 - Add illrequestattributes.readonly and illrequest.price_paid columns)\n";
}
$DBversion = '18.06.00.042';
if( CheckVersion( $DBversion ) ) {
$dbh->do( "alter table statistics change column ccode ccode varchar(80) default NULL" );
SetVersion( $DBversion );
print "Upgrade to $DBversion done (Bug 21617: Make statistics.ccode longer)\n";
}
# SEE bug 13068
# if there is anything in the atomicupdate, read and execute it.