adding missing kohaversion.pl
adding missing line to updatedatabase
This commit is contained in:
parent
94ab1fc061
commit
ea8d8d3959
|
|
@ -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;
|
||||
|
|
|
|||
|
|
@ -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);
|
||||
|
|
|
|||
Loading…
Reference in New Issue