What is the correct syntax for creating an index on an enum field?
I've already created an enum named action like this.
enum :action, Enum::Task::ACTION, default: :something
I wanted to know if the correct syntax is index _action: 1 or index action: 1.