diff options
author | Lizzy Hunt <lizzy.hunt@usu.edu> | 2023-03-13 14:43:51 -0600 |
---|---|---|
committer | Lizzy Hunt <lizzy.hunt@usu.edu> | 2023-03-13 14:43:51 -0600 |
commit | 763529e6c3077e8edb8b15886ae4ff25395f22d7 (patch) | |
tree | 01759e0f45d78585d1bcc1ab97ab7def3ec94a41 | |
parent | a1f01d4a2b1ce2a167b7fec1506f3970bf13ea79 (diff) | |
download | chessh-763529e6c3077e8edb8b15886ae4ff25395f22d7.tar.gz chessh-763529e6c3077e8edb8b15886ae4ff25395f22d7.zip |
Increase game moves column size
-rw-r--r-- | priv/repo/migrations/20230313204047_increase_game_moves_size.exs | 9 |
1 files changed, 9 insertions, 0 deletions
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 |