]> 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)
committerJulian Maurice <julian.maurice@biblibre.com>
Thu, 16 Jun 2016 08:03:45 +0000 (10:03 +0200)
commit8f8ba80f2e290765d8c7307f812f39e00cc48fa1
tree51907d3ca0c2b04949878776b387c875198f37de
parent2131a6dec2a7588be8b6061e97b945fa69da0953
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>
(cherry picked from commit b49adab4a1c4bb08714371223572caf35460f0f4)
Signed-off-by: Julian Maurice <julian.maurice@biblibre.com>
installer/data/mysql/kohastructure.sql