code-corps/code-corps-api

View on GitHub
priv/repo/migrations/20170913114958_remove_github_event_source_field.exs

Summary

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

  def up do
    alter table(:github_events) do
      remove :source
    end
  end

  def down do
    alter table(:github_events) do
      add :source, :string
    end
  end
end