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