Postgresql Add Check Constraint In Postgresql A Nested