The suggestions table never clears the borrowernumbers referenced in - suggestedby - managedby - acceptedby - rejectedby suggestedby is usually a patron not a staff user, I think on deletion of the patron it would make sense to set it to NULL. Maybe also for the other 3? There is also no FK on - budgetid - branchcode
*** Bug 10633 has been marked as a duplicate of this bug. ***
Sorry Katrin, I didn't spot this one before creating a new one which adds the constraints... hopefully you agree with the ones added there? *** This bug has been marked as a duplicate of bug 22368 ***