frenzy/priv/repo/migrations/20191102134028_create_pipel...

15 lines
279 B
Elixir
Raw Permalink Normal View History

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