Refactor DatabaseConstraintsValidator#attribute_validators.
Only support explicitly listed constraints.