I have a Postges DB. I have a table of Categories and I want 1 and only 1 to be considerd as "Default". It seems I could have a boolean field with a unique constraint and just use null in lieu of False values, and that would work but I would prefer a setup where if I mark a row as default, it will automatically set that to null on all other rows. I would also like to ensure there is one set as default. I could create a second table with 1 row and 1 column to track the id of the default row, that I could enforce to must have a value and to be a valid id, but that seems overkill to have a table just for that. Is there an easier way?