mirror of
https://github.com/danbee/chess
synced 2025-03-04 08:39:06 +00:00
Restricts players to only be able to move their own pieces and only when it's their turn.
12 lines
173 B
Elixir
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
|