To list the indexes for a specific table in the console, run the following command:
ActiveRecord::Base.connection.indexes(:transactions)
To list the indexes for a specific table in the console, run the following command:
ActiveRecord::Base.connection.indexes(:transactions)