@DTest That brings up a good point I've been meaning to ask about. At what point is it NOT obvious that a constraint should go in the database? When I asked about writing a bank schema and enforcing non-negative balances, some thought it was a
business rule that belonged in the app code, some (myself included) in the database.