[Koha-patches] [PATCH 1/2] bug 3464: set to DBrev 046 for new borrowers columns

Galen Charlton gmcharlt at gmail.com
Mon Aug 24 00:38:33 CEST 2009


Signed-off-by: Galen Charlton <gmcharlt at gmail.com>
---
 installer/data/mysql/updatedatabase.pl |   10 ++--------
 kohaversion.pl                         |    2 +-
 2 files changed, 3 insertions(+), 9 deletions(-)

diff --git a/installer/data/mysql/updatedatabase.pl b/installer/data/mysql/updatedatabase.pl
index 4ce750d..ef854f4 100755
--- a/installer/data/mysql/updatedatabase.pl
+++ b/installer/data/mysql/updatedatabase.pl
@@ -2535,19 +2535,13 @@ if (C4::Context->preference("Version") < TransformToNum($DBversion)) {
     print "Upgrade to $DBversion done (added a preference to hide the patrons name in the staff catalog)";
 }
 
-=item
-
-    Deal with borrowers
-
-=cut
-
-$DBversion = "3.01.00.039";
+$DBversion = "3.01.00.046";
 if (C4::Context->preference("Version") < TransformToNum($DBversion)) {
     # update borrowers table
     # 
     $dbh->do("ALTER TABLE borrowers ADD `country` text AFTER zipcode");
     $dbh->do("ALTER TABLE borrowers ADD `B_country` text AFTER B_zipcode");
-    print "Upgrade to $DBversion done (branches)\n";
+    print "Upgrade to $DBversion done (add country and B_country to borrowers)\n";
     SetVersion ($DBversion);
 }
 
diff --git a/kohaversion.pl b/kohaversion.pl
index 41c2a33..e4f481e 100644
--- a/kohaversion.pl
+++ b/kohaversion.pl
@@ -10,7 +10,7 @@
 use strict;
 
 sub kohaversion {
-    our $VERSION = '3.01.00.045';
+    our $VERSION = '3.01.00.046';
     # version needs to be set this way
     # so that it can be picked up by Makefile.PL
     # during install
-- 
1.6.3.3



More information about the Koha-patches mailing list