aboutsummaryrefslogtreecommitdiff
path: root/priv/repo/migrations/20221230102253_add_authenticating_column_to_player.exs
diff options
context:
space:
mode:
authorSimponic <loganhunt@simponic.xyz>2022-12-30 05:46:35 -0700
committerSimponic <loganhunt@simponic.xyz>2022-12-30 05:46:35 -0700
commit42425b02260d279cd9c12fb3e625282979b9e308 (patch)
tree0412bf9f39d44266cff94082c499e44e5f6e60f5 /priv/repo/migrations/20221230102253_add_authenticating_column_to_player.exs
parent60eea1b4ed65bc7cfce1e383dac6de9d004540eb (diff)
downloadchessh-42425b02260d279cd9c12fb3e625282979b9e308.tar.gz
chessh-42425b02260d279cd9c12fb3e625282979b9e308.zip
Add scalable session thresholds
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