From a726cf2804c1927166c26a3ba4794abb81a168ae Mon Sep 17 00:00:00 2001 From: Paul Poulain Date: Mon, 30 Apr 2012 14:36:08 +0200 Subject: [PATCH] Bug 8002 follow-up to use 3.09 and MODIFY instead of 3.08 and CHANGE see Ian comment 4 (http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=8002) --- installer/data/mysql/updatedatabase.pl | 4 ++-- kohaversion.pl | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl index dd3483fada..2f66e7919c 100755 --- a/installer/data/mysql/updatedatabase.pl +++ b/installer/data/mysql/updatedatabase.pl @@ -5212,9 +5212,9 @@ if ( C4::Context->preference("Version") < TransformToNum($DBversion) ) { 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); } diff --git a/kohaversion.pl b/kohaversion.pl index 8b029f856a..aa08729646 100644 --- a/kohaversion.pl +++ b/kohaversion.pl @@ -16,7 +16,7 @@ the kohaversion is divided in 4 parts : 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 -- 2.39.5