Bug 17813 - DBRev 16.12.00.006
Signed-off-by: Kyle M Hall <kyle@bywatersolutions.com>
This commit is contained in:
parent
0f3ced357d
commit
9fe4f3b2ba
2
Koha.pm
2
Koha.pm
|
|
@ -29,7 +29,7 @@ use vars qw{ $VERSION };
|
|||
# - #4 : the developer version. The 4th number is the database subversion.
|
||||
# used by developers when the database changes. updatedatabase take care of the changes itself
|
||||
# and is automatically called by Auth.pm when needed.
|
||||
$VERSION = "16.12.00.005";
|
||||
$VERSION = "16.12.00.006";
|
||||
|
||||
sub version {
|
||||
return $VERSION;
|
||||
|
|
|
|||
|
|
@ -1,14 +0,0 @@
|
|||
$DBversion = "16.12.00.XXX";
|
||||
if ( CheckVersion($DBversion) ) {
|
||||
unless ( column_exists( 'borrower_attributes', 'id' )
|
||||
and index_exists( 'borrower_attributes', 'PRIMARY' ) )
|
||||
{
|
||||
$dbh->do(q{
|
||||
ALTER TABLE `borrower_attributes`
|
||||
ADD `id` int(11) NOT NULL AUTO_INCREMENT PRIMARY KEY FIRST
|
||||
});
|
||||
}
|
||||
|
||||
print "Upgrade to $DBversion done (Bug 17813: Table borrower_attributes needs a primary key\n";
|
||||
SetVersion($DBversion);
|
||||
}
|
||||
|
|
@ -13846,6 +13846,21 @@ if( CheckVersion( $DBversion ) ) {
|
|||
print "Upgrade to $DBversion done (Bug 17913 - AuthorityMergeMode)\n";
|
||||
}
|
||||
|
||||
$DBversion = "16.12.00.006";
|
||||
if ( CheckVersion($DBversion) ) {
|
||||
unless ( column_exists( 'borrower_attributes', 'id' )
|
||||
and index_exists( 'borrower_attributes', 'PRIMARY' ) )
|
||||
{
|
||||
$dbh->do(q{
|
||||
ALTER TABLE `borrower_attributes`
|
||||
ADD `id` int(11) NOT NULL AUTO_INCREMENT PRIMARY KEY FIRST
|
||||
});
|
||||
}
|
||||
|
||||
print "Upgrade to $DBversion done (Bug 17813: Table borrower_attributes needs a primary key\n";
|
||||
SetVersion($DBversion);
|
||||
}
|
||||
|
||||
# DEVELOPER PROCESS, search for anything to execute in the db_update directory
|
||||
# SEE bug 13068
|
||||
# if there is anything in the atomicupdate, read and execute it.
|
||||
|
|
|
|||
Loading…
Reference in New Issue