10 lines
198 B
Elixir
10 lines
198 B
Elixir
|
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
|