From 763529e6c3077e8edb8b15886ae4ff25395f22d7 Mon Sep 17 00:00:00 2001 From: Lizzy Hunt Date: Mon, 13 Mar 2023 14:43:51 -0600 Subject: [PATCH] Increase game moves column size --- .../20230313204047_increase_game_moves_size.exs | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 priv/repo/migrations/20230313204047_increase_game_moves_size.exs diff --git a/priv/repo/migrations/20230313204047_increase_game_moves_size.exs b/priv/repo/migrations/20230313204047_increase_game_moves_size.exs new file mode 100644 index 0000000..01bcc4c --- /dev/null +++ b/priv/repo/migrations/20230313204047_increase_game_moves_size.exs @@ -0,0 +1,9 @@ +defmodule Chessh.Repo.Migrations.IncreaseGameMovesSize do + use Ecto.Migration + + def change do + alter table(:games) do + modify(:game_moves, :string, size: 4096) + end + end +end