[Koha-bugs] [Bug 30060] Missing primary key on user_permissions

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Mon Feb 21 10:48:00 CET 2022


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

--- Comment #11 from Jonathan Druart <jonathan.druart+koha at gmail.com> ---
(In reply to Martin Renvoize from comment #10)
> (In reply to Jonathan Druart from comment #9)
> > Thanks for the follow-up, Martin. However I don't think the "temp" column is
> > needed. See installer/data/mysql/db_revs/210600012.pl where we delete
> > duplicate from language tables.
> 
> Hmm, the difference here is that there is no incrementing key field in the
> table to start with.. I couldn't work out how to do it without creating the
> temporary field. More than happy to be corrected, but the approach in update
> you point to matches the approach I have here.. it relies on an incrementing
> key field which we don't have here until I add it temporarily.

Indeed!

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


More information about the Koha-bugs mailing list