frenzy/priv/repo/migrations/20191102134028_create_pipelines.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

15 lines
279 B
Elixir

defmodule Frenzy.Repo.Migrations.CreatePipelines do
use Ecto.Migration
def change do
create table(:pipelines) do
add :name, :string
add :stages, :jsonb, null: false, default: "[]"
add :user_id, references(:users)
timestamps()
end
end
end