summaryrefslogtreecommitdiff
path: root/priv/repo/migrations/20221230102253_add_authenticating_column_to_player.exs
diff options
context:
space:
mode:
Diffstat (limited to 'priv/repo/migrations/20221230102253_add_authenticating_column_to_player.exs')
-rw-r--r--priv/repo/migrations/20221230102253_add_authenticating_column_to_player.exs9
1 files changed, 9 insertions, 0 deletions
diff --git a/priv/repo/migrations/20221230102253_add_authenticating_column_to_player.exs b/priv/repo/migrations/20221230102253_add_authenticating_column_to_player.exs
new file mode 100644
index 0000000..315aeb6
--- /dev/null
+++ b/priv/repo/migrations/20221230102253_add_authenticating_column_to_player.exs
@@ -0,0 +1,9 @@
+defmodule Chessh.Repo.Migrations.AddAuthenticatingColumnToPlayer do
+ use Ecto.Migration
+
+ def change do
+ alter table(:players) do
+ add(:authentications, :integer, default: 0)
+ end
+ end
+end