http://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=13668 --- Comment #5 from Jonathan Druart <jonathan.druart@bugs.koha-community.org> --- Created attachment 46592 --> http://bugs.koha-community.org/bugzilla3/attachment.cgi?id=46592&action=edit Bug 13668: Add foreign key on saved_sql.borrowernumber saved_sql.borrowernumber refers to a borrowernumber, the DB structure should reflect this constraint. Test plan: 0/ Do not execute the update DB entry 1/ Add a new patron 2/ Use this patron to create a new report 3/ Delete the patron 4/ Execute the DB entry 5/ The saved_sql.borrowernumber for this report should have been set to NULL 6/ On the reports table, the column 'Author' should be empty. -- You are receiving this mail because: You are watching all bug changes.