Bug 14350: Missing statement in kohastructure.sql - DROP TABLE IF EXISTS borrower_sync
authorKatrin Fischer <Katrin.Fischer.83@web.de>
Sat, 6 Jun 2015 12:34:57 +0000 (14:34 +0200)
committerTomas Cohen Arazi <tomascohen@theke.io>
Wed, 17 Jun 2015 12:52:40 +0000 (09:52 -0300)
Reported by Jonathan on bug 11401:

DROP TABLE IF EXISTS borrower_sync;
is missing in installer/data/mysql/kohastructure.sql

To test:
- Run the web installer and confirm all tables are
  created correctly

Signed-off-by: Indranil Das Gupta (L2C2 Technologies) <indradg@gmail.com>
Signed-off-by: Jonathan Druart <jonathan.druart@koha-community.org>
Signed-off-by: Tomas Cohen Arazi <tomascohen@theke.io>
installer/data/mysql/kohastructure.sql

index 6683125..9d6e2ce 100644 (file)
@@ -361,6 +361,7 @@ CREATE TABLE `branch_item_rules` ( -- information entered in the circulation and
 -- Table structure for table borrower_sync
 --
 
+DROP TABLE IF EXISTS `borrower_sync`;
 CREATE TABLE borrower_sync (
   borrowersyncid int(11) NOT NULL AUTO_INCREMENT, -- Primary key, unique identifier
   borrowernumber int(11) NOT NULL, -- Connects data about synchronisations to a borrower