Rubocop has a uniqueness validator if the index is missing. So if validation for uniqueness is present, it searches for indexes in the schema. I don\'t get how does it work with