From ea8d8d3959a7639a75ffb24ba49c3d2631d9be28 Mon Sep 17 00:00:00 2001 From: Joshua Ferraro Date: Sun, 21 Oct 2007 19:59:43 -0500 Subject: [PATCH] adding missing kohaversion.pl adding missing line to updatedatabase --- kohaversion.pl | 2 +- updater/updatedatabase | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/kohaversion.pl b/kohaversion.pl index 891a4ac917..b8081d2d2a 100644 --- a/kohaversion.pl +++ b/kohaversion.pl @@ -8,7 +8,7 @@ # and is automatically called by Auth.pm when needed. sub kohaversion { - return "3.00.00.010"; + return "3.00.00.011"; } 1; diff --git a/updater/updatedatabase b/updater/updatedatabase index 2d53946f6f..83c69f9d58 100755 --- a/updater/updatedatabase +++ b/updater/updatedatabase @@ -303,6 +303,7 @@ if (C4::Context->preference("Version") < TransformToNum($DBversion)) { $dbh->do("ALTER TABLE `branchcategories` CHANGE `categorycode` `categorycode` char(10) "); $dbh->do("ALTER TABLE `branchcategories` CHANGE `categoryname` `categoryname` varchar(32) "); $dbh->do("ALTER TABLE `branchcategories` ADD COLUMN `categorytype` varchar(16) "); + $dbh->do("UPDATE `branchcategories` SET `categorytype` = 'properties'"); $dbh->do("ALTER TABLE `branchrelations` CHANGE `cateorycode` `cateorycode` char(10) "); print "Upgrade to $DBversion done (added branchcategory type)\n"; SetVersion ($DBversion); -- 2.39.5