Browse Source

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>
18.11.x
Jonathan Druart 6 years ago
committed by Nick Clemens
parent
commit
7ae0dfa076
  1. 3
      installer/data/mysql/atomicupdate/bug_21068.perl

3
installer/data/mysql/atomicupdate/bug_21068.perl

@ -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…
Cancel
Save