10 lines
182 B
Elixir
10 lines
182 B
Elixir
defmodule Friends.Repo.Migrations.ProfileBelongsToUser do
|
|
use Ecto.Migration
|
|
|
|
def change do
|
|
alter table(:friends) do
|
|
add :user_id, references(:users)
|
|
end
|
|
end
|
|
end
|