Updating Version Number to 3.02.01.002

This commit is contained in:
Chris Nighswonger 2010-12-13 22:16:12 -05:00
parent 00f560980c
commit ecd2cefea6
2 changed files with 10 additions and 1 deletions

View File

@ -3882,6 +3882,15 @@ VALUES
SetVersion ($DBversion);
};
$DBversion = '3.02.01.002';
if (C4::Context->preference("Version") < TransformToNum($DBversion)) {
$dbh->do("ALTER TABLE deletedborrowers ADD `privacy` int(11) AFTER smsalertnumber;");
$dbh->do("ALTER TABLE deletedborrowers CHANGE `cardnumber` `cardnumber` varchar(16);");
print "Upgrade to $DBversion done (Fix differences between borrowers and deletedborrowers)\n";
SetVersion ($DBversion);
}
=head1 FUNCTIONS
=head2 DropAllForeignKeys($table)

View File

@ -16,7 +16,7 @@ the kohaversion is divided in 4 parts :
use strict;
sub kohaversion {
our $VERSION = '3.02.01.001';
our $VERSION = '3.02.01.002';
# version needs to be set this way
# so that it can be picked up by Makefile.PL
# during install