Setting up the constraints is a tiny bit more work, but it's worth it in the end.
It's especially nice when your ORM or web framework knows to deal with all of this at both the migration and validation levels. Then you can have both database level protection and nice human readable errors in your app.
Setting up the constraints is a tiny bit more work, but it's worth it in the end.
It's especially nice when your ORM or web framework knows to deal with all of this at both the migration and validation levels. Then you can have both database level protection and nice human readable errors in your app.