Bug 19699

Summary: Missing FK on messages table
Product: Koha Reporter: Sophie MEYNIEUX <sophie.meynieux>
Component: PatronsAssignee: Bugs List <koha-bugs>
Status: RESOLVED DUPLICATE QA Contact: Testopia <testopia>
Severity: minor    
Priority: P5 - low CC: axelle.clarisse, gmcharlt, kyle.m.hall
Version: Main   
Hardware: All   
OS: All   
Change sponsored?: --- Patch complexity: ---
Documentation contact: Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Sophie MEYNIEUX 2017-11-27 14:08:39 UTC
Messages table contains messages for patrons. 
There is no FK between borrowers and messages on borrowernumber, so when a borrower is deleted, associated messages remains indefinitely in messages table.
Comment 1 Katrin Fischer 2017-11-27 23:22:28 UTC
Hi Sophie, this is a duplicate to bug 13515.

*** This bug has been marked as a duplicate of bug 13515 ***