frenzy/priv/repo/migrations/20190321223329_feeds_add_gr...

10 lines
198 B
Elixir
Raw Normal View History

2019-03-21 23:21:56 +00:00
defmodule Frenzy.Repo.Migrations.FeedsAddGroup do
use Ecto.Migration
def change do
alter table(:feeds) do
add :group_id, references(:groups, on_delete: :delete_all)
end
end
end