the unique property should not be visible for several field types: has_many, many_to_many and file.