]> git.koha-community.org Git - koha.git/commit
Bug 16565: Drop additional_fields and additional_field_values before creating them
authorJonathan Druart <jonathan.druart@bugs.koha-community.org>
Mon, 23 May 2016 11:19:46 +0000 (12:19 +0100)
committerFrédéric Demians <f.demians@tamil.fr>
Wed, 15 Jun 2016 05:56:57 +0000 (07:56 +0200)
commitb49adab4a1c4bb08714371223572caf35460f0f4
tree0ec7dfcb8f56d939981163def39ff08ed2c2846a
parent14b9930b079c3f5518dce7a8cedc887790a2f27a
Bug 16565: Drop additional_fields and additional_field_values before creating them

These 2 tables should be dropped before trying to create them

Test plan:
From the SQL CLI, source the kohastructure.sql file
source it again
=> Without this patch you get 2 warnings
ERROR 1050 (42S01) at line 3580 in file:
'installer/data/mysql/kohastructure.sql': Table
'additional_fields' already exi
sts
ERROR 1050 (42S01) at line 3596 in file:
'installer/data/mysql/kohastructure.sql': Table
'additional_field_values' alrea
dy exists

=> With this patch, you won't get them

Signed-off-by: Mark Tompsett <mtompset@hotmail.com>
Signed-off-by: Marcel de Rooy <m.de.rooy@rijksmuseum.nl>
Signed-off-by: Brendan Gallagher <brendan@bywatersolutions.com>
(cherry picked from commit a01cd77e19f810bf61c8d26ebb97f7c49f1d1f32)
Signed-off-by: Frédéric Demians <f.demians@tamil.fr>
installer/data/mysql/kohastructure.sql