chessh/priv/repo/migrations/20230128032207_add_last_move_to_game.exs

10 lines
180 B
Elixir

defmodule Chessh.Repo.Migrations.AddLastMoveToGame do
use Ecto.Migration
def change do
alter table(:games) do
add(:last_move, :string, null: true)
end
end
end