Bug 21288: DBRev 18.05.03.002
Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
(cherry picked from commit 11e513f83f)
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
This commit is contained in:
parent
40536fedd3
commit
44ce16d006
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 = "18.05.03.001";
|
||||
$VERSION = "18.05.03.002";
|
||||
|
||||
sub version {
|
||||
return $VERSION;
|
||||
|
|
|
|||
|
|
@ -1,9 +0,0 @@
|
|||
$DBversion = 'XXX'; # will be replaced by the RM
|
||||
if( CheckVersion( $DBversion ) ) {
|
||||
$dbh->do(q{
|
||||
CREATE INDEX `by_biblionumber` ON `subscription` (`biblionumber`)
|
||||
});
|
||||
|
||||
SetVersion( $DBversion );
|
||||
print "Upgrade to $DBversion done (Bug 21288: Slowness in acquisition caused by GetInvoices\n";
|
||||
}
|
||||
|
|
@ -16155,6 +16155,17 @@ if( CheckVersion( $DBversion ) ) {
|
|||
print "Upgrade to $DBversion done (Bug 21235: Remove table services_throttle)\n";
|
||||
}
|
||||
|
||||
$DBversion = '18.05.03.002';
|
||||
if( CheckVersion( $DBversion ) ) {
|
||||
unless ( index_exists( 'subscription', 'by_biblionumber' ) ) {
|
||||
$dbh->do(q{
|
||||
CREATE INDEX `by_biblionumber` ON `subscription` (`biblionumber`)
|
||||
});
|
||||
}
|
||||
SetVersion( $DBversion );
|
||||
print "Upgrade to $DBversion done (Bug 21288: Slowness in acquisition caused by GetInvoices\n";
|
||||
}
|
||||
|
||||
# SEE bug 13068
|
||||
# if there is anything in the atomicupdate, read and execute it.
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue