Index: 20170607051650_add_index_on_enabled_modules_name.rb =================================================================== --- 20170607051650_add_index_on_enabled_modules_name.rb (nonexistent) +++ 20170607051650_add_index_on_enabled_modules_name.rb (working copy) @@ -0,0 +1,5 @@ +class AddIndexOnEnabledModulesName < ActiveRecord::Migration + def change + add_index :enabled_modules, :name + end +end