[Koha-bugs] [Bug 16565] additional_fields and additional_field_values are not dropped in kohastructure.sql

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Thu May 26 04:32:11 CEST 2016


https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=16565

M. Tompsett <mtompset at hotmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #51717|0                           |1
        is obsolete|                            |

--- Comment #2 from M. Tompsett <mtompset at hotmail.com> ---
Created attachment 51811
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=51811&action=edit
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 at hotmail.com>

-- 
You are receiving this mail because:
You are watching all bug changes.


More information about the Koha-bugs mailing list