by zekenie · 2y ago · 0 comments
I have bad news for you [0] about SQLite’s view on schema consistency.
It's easy enough to replicate those constraints to the client if you want the client to do ahead of time validation, but your source of truth lives in the database...
I wouldn't survive with SQLite.
Completely agree that the DB should be the arbiter of validity. Constraints are a good thing.