Can we change this method name to `get_unique_constraints`.