frenzy/priv/repo/migrations/20191102135129_feeds_add_pi...

10 lines
209 B
Elixir
Raw Permalink Normal View History

defmodule Frenzy.Repo.Migrations.FeedsAddPipelineId do
use Ecto.Migration
def change do
alter table(:feeds) do
add :pipeline_id, references(:pipelines, on_delete: :nilify_all)
end
end
end