adding missing kohaversion.pl

adding missing line to updatedatabase
This commit is contained in:
Joshua Ferraro 2007-10-21 19:59:43 -05:00
parent 94ab1fc061
commit ea8d8d3959
2 changed files with 2 additions and 1 deletions

View File

@ -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;

View File

@ -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);