1
0
mirror of https://github.com/danbee/chess synced 2025-03-04 08:39:06 +00:00
chess/priv/repo/migrations/20161209105511_create_game.exs
Dan Barber c0facfa4d5
Players take turns
Restricts players to only be able to move their own pieces and only when
it's their turn.
2018-02-24 15:52:22 -05:00

12 lines
173 B
Elixir

defmodule Chess.Repo.Migrations.CreateGame do
use Ecto.Migration
def change do
create table(:games) do
add :board, :map
timestamps()
end
end
end