class AddIndexesToUsers < ActiveRecord::Migration[5.2] def change # add_index :users, :login # add_index :users, :mail end end