Bug 21068: Remove table borrower_sync if needed
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io> Signed-off-by: Nick Clemens <nick@bywatersolutions.com>
This commit is contained in:
parent
f0652790df
commit
7ae0dfa076
|
|
@ -7,6 +7,9 @@ if( CheckVersion( $DBversion ) ) {
|
|||
DELETE FROM systempreferences
|
||||
WHERE variable IN ('NorwegianPatronDBEnable', 'NorwegianPatronDBEndpoint', 'NorwegianPatronDBUsername', 'NorwegianPatronDBPassword', 'NorwegianPatronDBSearchNLAfterLocalHit')
|
||||
|);
|
||||
if ( TableExists('borrower_sync') ) {
|
||||
$dbh->do(q|DROP TABLE borrower_sync|);
|
||||
}
|
||||
}
|
||||
|
||||
SetVersion( $DBversion );
|
||||
|
|
|
|||
Loading…
Reference in New Issue