10 lines
201 B
Elixir
10 lines
201 B
Elixir
|
|
defmodule Zoeyscomputer.Repo.Migrations.AddUserToLinks do
|
||
|
|
use Ecto.Migration
|
||
|
|
|
||
|
|
def change do
|
||
|
|
alter table(:links) do
|
||
|
|
add :user_id, references(:users, on_delete: :nothing)
|
||
|
|
end
|
||
|
|
end
|
||
|
|
end
|