Which area(s) of Podkrepi.bg are affected? (leave empty if unsure)
No response
Describe the Bug
Whenever someone's account is associated with other part of the project be it donations, file uploads or info requests or others, user is unable to delete that account due to, foreign key constraint failure.
To Reproduce
Create new account
Make non-anonymous or recurring donation
Attempt to delete the account
The same example holds true, for other every other table which uses personId as foreign key.
Expected Behavior
User should be able to delete his account regardless of its association with other parts of the projects.
For that to happen, we should first strategize on what will happen to the existing records referencing that person for each table.
Which area(s) of Podkrepi.bg are affected? (leave empty if unsure)
No response
Describe the Bug
Whenever someone's account is associated with other part of the project be it donations, file uploads or info requests or others, user is unable to delete that account due to, foreign key constraint failure.
To Reproduce
The same example holds true, for other every other table which uses personId as foreign key.
Expected Behavior
User should be able to delete his account regardless of its association with other parts of the projects. For that to happen, we should first strategize on what will happen to the existing records referencing that person for each table.
Which browser are you using? (if relevant)
No response