You can validate data at the database level

You can validate data at the database level

⚡️ Database Tip

Your application will have bugs and any data stored may be corrupt forever. But with constraints on the data model, rules would have prevented saving incorrect data in the first place! Use them as a last frontier to make sure you always have valid data.

We're writing a book, you can get it for free here.