```ruby
class AddIndexToDocMethods < ActiveRecord::Migration[5.1]
  def change
    add_index(:doc_methods, [:repo_id, :created_at])
  end
end
```

Fix migration constant not matching filename. This was breaking bootsnap in dev, changing the constant solves the issue
user
```ruby
class AddIndexToDocMethod < ActiveRecord::Migration[5.1]
  def change
    add_index(:doc_methods, [:repo_id, :created_at])
  end
end
```
assistant