Read unique constrained fields from model. #504