I'm creating a website, and I want to allow users to give reputations one to another. So I have 2 FOREIGN KEYs referencing to User table.
With this, I cannot apply ON DELETE and ON UPDATE on CASCADE on both CONSTRAINTS - it allows me to do it on one only. So this gives me a problem, I cannot delete my user and to delete all given and taken reputation automatically. It doesn't even let me delete a user at all. Any advice?