Represents a custom index on the table backing a resource.
Each entry in fields can be an atom, string, or a tuple with an order and a field.
fields