code-corps/code-corps-api

View on GitHub
priv/repo/migrations/20170104113708_add_stripe_connect_account_reference_to_external_accounts.exs

Summary

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

  def change do
    alter table(:stripe_external_accounts) do
      add :stripe_connect_account_id, references(:stripe_connect_accounts)
    end
  end
end