frenzy/priv/repo/migrations/20191102135129_feeds_add_pipeline_id.exs
Shadowfacts 0d0c749b68
Make pipelines not tied directly to feeeds
Allows using the same pipeline for multiple different feeds
2019-11-08 22:27:46 -05:00

10 lines
209 B
Elixir

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