add constraints for name to pg schema