summaryrefslogtreecommitdiff
path: root/priv/repo/migrations
diff options
context:
space:
mode:
authorLizzy Hunt <lizzy.hunt@usu.edu>2023-03-13 14:43:51 -0600
committerLizzy Hunt <lizzy.hunt@usu.edu>2023-03-13 14:43:51 -0600
commit763529e6c3077e8edb8b15886ae4ff25395f22d7 (patch)
tree01759e0f45d78585d1bcc1ab97ab7def3ec94a41 /priv/repo/migrations
parenta1f01d4a2b1ce2a167b7fec1506f3970bf13ea79 (diff)
downloadchessh-763529e6c3077e8edb8b15886ae4ff25395f22d7.tar.gz
chessh-763529e6c3077e8edb8b15886ae4ff25395f22d7.zip
Increase game moves column size
Diffstat (limited to 'priv/repo/migrations')
-rw-r--r--priv/repo/migrations/20230313204047_increase_game_moves_size.exs9
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