Bug 8002 follow-up for the follow-up, DBRev number

This commit is contained in:
Paul Poulain 2012-09-14 15:46:08 +02:00
parent 087b9665ae
commit cec20df6d9
2 changed files with 2 additions and 2 deletions

View file

@ -5781,7 +5781,7 @@ if (C4::Context->preference("Version") < TransformToNum($DBversion)) {
SetVersion ($DBversion); SetVersion ($DBversion);
} }
$DBversion = "3.09.00.XXX"; $DBversion = "3.09.00.045";
if ( C4::Context->preference("Version") < TransformToNum($DBversion) ) { if ( C4::Context->preference("Version") < TransformToNum($DBversion) ) {
$dbh->do("ALTER TABLE borrower_attribute_types MODIFY category_code VARCHAR( 10 ) NULL DEFAULT NULL"); $dbh->do("ALTER TABLE borrower_attribute_types MODIFY category_code VARCHAR( 10 ) NULL DEFAULT NULL");
print "Upgrade to $DBversion done. (Bug 8002: Update patron attribute types table from varchar(1) to varchar(10) category_code)\nWarning to Koha System Administrators: If you use borrower attributes defined by borrower categories, you have to check your configuration. A bug may have removed your attribute links to borrower categories.\nPlease check, and fix it if necessary."; print "Upgrade to $DBversion done. (Bug 8002: Update patron attribute types table from varchar(1) to varchar(10) category_code)\nWarning to Koha System Administrators: If you use borrower attributes defined by borrower categories, you have to check your configuration. A bug may have removed your attribute links to borrower categories.\nPlease check, and fix it if necessary.";

View file

@ -16,7 +16,7 @@ the kohaversion is divided in 4 parts :
use strict; use strict;
sub kohaversion { sub kohaversion {
our $VERSION = '3.09.00.044'; our $VERSION = '3.09.00.045';
# version needs to be set this way # version needs to be set this way
# so that it can be picked up by Makefile.PL # so that it can be picked up by Makefile.PL
# during install # during install