Bug 32590 - Add FK constraint for search_history.userid
Summary: Add FK constraint for search_history.userid
Status: NEW
Alias: None
Product: Koha
Classification: Unclassified
Component: Database (show other bugs)
Version: Main
Hardware: All All
: P5 - low enhancement
Assignee: Bugs List
QA Contact: Testopia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2023-01-08 00:22 UTC by Katrin Fischer
Modified: 2023-01-08 00:22 UTC (History)
0 users

See Also:
Change sponsored?: ---
Patch complexity: ---
Documentation contact:
Documentation submission:
Text to go in the release notes:
Version(s) released in:
Circulation function:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Katrin Fischer 2023-01-08 00:22:58 UTC
Make sure that when the patron is deleted, the userid (borrowernumber) is either set to NULL or the entries be deleted in search_history.