How can I validate that only one of the rows in my database is true and
rest are false at any give time?
I’ve already figured out to do this except if I try to update the row
that is true. Then it fails.
Here’s the code: http://rafb.net/paste/results/Ryjnbq78.html
What needs to be done to make it work?