summaryrefslogtreecommitdiff
path: root/priv/repo/migrations/20221230102253_add_authenticating_column_to_player.exs
diff options
context:
space:
mode:
authorLogan Hunt <loganhunt@simponic.xyz>2022-12-30 05:53:15 -0700
committerGitHub <noreply@github.com>2022-12-30 05:53:15 -0700
commit52fbc0b0161d2d30583d7f04eef57a29e441e1d2 (patch)
treef882037a2820973ba6dc5f64206b01dba03266d8 /priv/repo/migrations/20221230102253_add_authenticating_column_to_player.exs
parentc143bb549c53f2737c41cdfce6cc2598c5489bdc (diff)
parente7d8c61487815bd90ec5834dad5e6f64dd951b53 (diff)
downloadchessh-52fbc0b0161d2d30583d7f04eef57a29e441e1d2.tar.gz
chessh-52fbc0b0161d2d30583d7f04eef57a29e441e1d2.zip
Merge pull request #2 from Simponic/erlang_ssh_server
Erlang ssh server #2
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