code-corps/code-corps-api

View on GitHub
priv/repo/migrations/20170505224222_add_github_repo_and_owner_to_project.exs

Summary

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

  def change do
    alter table(:projects) do
      add :github_repo, :string
      add :github_owner, :string
      remove :github_id
    end
  end
end