code-corps/code-corps-api

View on GitHub
priv/repo/migrations/20171104013543_add_indexes_for_syncing.exs

Summary

Maintainability
Test Coverage
defmodule CodeCorps.Repo.Migrations.AddIndexesForSyncing do
  use Ecto.Migration

  def change do
    create index(:tasks, [:github_issue_id, :project_id])
  end
end