Best way to consist between attributes validation and Postgres level
Hi, sorry, I just try to learn and compare my code with the best ways that i can be able to find.
I just want to know, is there auto way to create constraints?
For example based on attributes constraints? or it should be written by manual
And my constraints is (for example delete this part)
Thank you in advance
I just want to know, is there auto way to create constraints?
For example based on attributes constraints? or it should be written by manual
check_constraints ?And my constraints is (for example delete this part)
Thank you in advance
Solution
It needs to be written manually with check constraints as you have done it. We may add that feature in the future
