[Koha-bugs] [Bug 7793] redefine the field message_id as PRIMARY KEY of message_queue

bugzilla-daemon at bugs.koha-community.org bugzilla-daemon at bugs.koha-community.org
Tue Jun 16 12:46:12 CEST 2015


http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=7793

Jonathan Druart <jonathan.druart at biblibre.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #39525|0                           |1
        is obsolete|                            |
  Attachment #39526|0                           |1
        is obsolete|                            |

--- Comment #27 from Jonathan Druart <jonathan.druart at biblibre.com> ---
Created attachment 40172
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=40172&action=edit
Bug 7793 - redefine the field message_id as PRIMARY KEY of message_queue

Making message_queue work nicely with DBIx.

DROP the existing KEY and replace with an PRIMARY KEY.
If somebody has managed to get duplicate message_ids in his/her
message_queue-table, this patch takes care of them as well, but givin
all duplicate message_id's a new id.

TEST INSTRUCTIONS: in the patch.

Signed-off-by: Jonathan Druart <jonathan.druart at biblibre.com>

Signed-off-by: Kyle M Hall <kyle at bywatersolutions.com>

Signed-off-by: Jonathan Druart <jonathan.druart at koha-community.org>
Amended patch: Remove change to Koha/Schema/Result/MessageQueue.pm, will
be done by the RM

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


More information about the Koha-bugs mailing list