Bugzilla – Attachment 9367 Details for
Bug 8002
Can't add patron attribute type in newer installation
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 8002 follow-up to use 3.09 and MODIFY instead of 3.08 and CHANGE
Bug-8002-follow-up-to-use-309-and-MODIFY-instead-o.patch (text/plain), 1.70 KB, created by
Paul Poulain
on 2012-04-30 12:36:58 UTC
(
hide
)
Description:
Bug 8002 follow-up to use 3.09 and MODIFY instead of 3.08 and CHANGE
Filename:
MIME Type:
Creator:
Paul Poulain
Created:
2012-04-30 12:36:58 UTC
Size:
1.70 KB
patch
obsolete
>From a726cf2804c1927166c26a3ba4794abb81a168ae Mon Sep 17 00:00:00 2001 >From: Paul Poulain <paul.poulain@biblibre.com> >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 dd3483f..2f66e79 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 8b029f8..aa08729 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 >-- >1.7.5.4
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 8002
:
9287
|
9288
|
9311
|
9367
|
12011
|
12012
|
12033
|
12034
|
12206