mirror of
https://github.com/danbee/chess
synced 2025-03-04 08:39:06 +00:00
10 lines
180 B
Elixir
10 lines
180 B
Elixir
defmodule Chess.Repo.Migrations.AddOpponentToGame do
|
|
use Ecto.Migration
|
|
|
|
def change do
|
|
alter table("games") do
|
|
add :opponent_id, references(:users)
|
|
end
|
|
end
|
|
end
|