Skip to content

Open source, privacy-first web analytics. Lightweight, cookie-free Google Analytics alternative. Self-hosted or cloud.

Add `totp_token` string field to `users` (#3592)

Adrian Gruntkowskicc1842336982
diff --git a/priv/repo/migrations/20231129161022_add_totp_token_to_users.exs b/priv/repo/migrations/20231129161022_add_totp_token_to_users.exs
new file mode 100644
index 0000000000..a3eedc6a93
--- /dev/null
+++ b/priv/repo/migrations/20231129161022_add_totp_token_to_users.exs
@@ -0,0 +1,9 @@
+defmodule Plausible.Repo.Migrations.AddTotpTokenToUsers do
+ use Ecto.Migration
+
+ def change do
+ alter table(:users) do
+ add :totp_token, :string
+ end
+ end
+end