From 42425b02260d279cd9c12fb3e625282979b9e308 Mon Sep 17 00:00:00 2001 From: Simponic Date: Fri, 30 Dec 2022 05:46:35 -0700 Subject: Add scalable session thresholds --- .../20221230102253_add_authenticating_column_to_player.exs | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 priv/repo/migrations/20221230102253_add_authenticating_column_to_player.exs (limited to 'priv/repo/migrations/20221230102253_add_authenticating_column_to_player.exs') 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 -- cgit v1.3