[Koha-bugs] [Bug 31673] DB update of bug 31086 fails: Cannot change column 'branchcode': used in a foreign key constraint

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Fri Oct 7 16:45:37 CEST 2022


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

Martin Renvoize <martin.renvoize at ptfs-europe.com> changed:

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

--- Comment #4 from Martin Renvoize <martin.renvoize at ptfs-europe.com> ---
Created attachment 141512
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=141512&action=edit
Bug 31673: (bug 31086 follow-up) Drop and constraint to allow updating column

It seems that we cannot edit the column while it has a constraint.
If we remove it, update the oclumn, then re-add it, the update succeeds

Signed-off-by: Martin Renvoize <martin.renvoize at ptfs-europe.com>

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


More information about the Koha-bugs mailing list