see Ian comment 4 (http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8002)
SetVersion($DBversion);
}
-$DBversion = "3.08.00.XXX";
+$DBversion = "3.09.00.001";
if ( C4::Context->preference("Version") < TransformToNum($DBversion) ) {
- $dbh->do("ALTER TABLE borrower_attribute_types CHANGE category_code category_code VARCHAR( 1 ) NULL DEFAULT NULL");
+ $dbh->do("ALTER TABLE borrower_attribute_types MODIFY category_code VARCHAR( 1 ) NULL DEFAULT NULL");
print "Upgrade to $DBversion done. (Bug 8002: Update patron attribute types table to allow NULL category_code)\n";
SetVersion($DBversion);
}
use strict;
sub kohaversion {
- our $VERSION = '3.08.00.000';
+ our $VERSION = '3.09.00.001';
# version needs to be set this way
# so that it can be picked up by Makefile.PL
# during install