mobilizon/priv/repo/migrations/20200805124620_add_address_to_actors.exs

10 lines
227 B
Elixir
Raw Normal View History

defmodule Mobilizon.Storage.Repo.Migrations.AddAddressToActors do
use Ecto.Migration
def change do
alter table(:actors) do
add(:physical_address_id, references(:addresses, on_delete: :nothing))
end
end
end