Bug 10082

Summary: Keep extended patron attributes when patron is deleted (moved to deletedborrowers table)
Product: Koha Reporter: Nicole C. Engard <nengard>
Component: PatronsAssignee: Bugs List <koha-bugs>
Status: NEW --- QA Contact:
Severity: enhancement    
Priority: P5 - low CC: gmcharlt, kyle.m.hall
Version: Main   
Hardware: All   
OS: All   
GIT URL: Change sponsored?: ---
Patch complexity: --- Documentation contact:
Documentation submission: Text to go in the release notes:
Version(s) released in:
Circulation function:

Description Nicole C. Engard 2013-04-19 15:10:14 UTC
When you delete a borrower their record goes into the deleted_borrowers table, but their attributes are completely lost.  If you to do stats on these fields or recover deleted borrowers via the db you don't have that info anymore.  

It should either have it's own deleted_ table or be kept in the current table.

Nicole
Comment 1 Katrin Fischer 2023-01-25 22:18:46 UTC
I think having it's own deleted_table with a FK constraint on deletedborrowers would be the preferrable solution if we want to implement this.