[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 May 26 16:01:35 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 #37027|0                           |1
        is obsolete|                            |
  Attachment #37028|0                           |1
        is obsolete|                            |

--- Comment #21 from Jonathan Druart <jonathan.druart at biblibre.com> ---
Created attachment 39525
  -->
http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=39525&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>

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


More information about the Koha-bugs mailing list