Files
sukaato-site/priv/repo/migrations/20250820173517_user_add_multifactor_column.exs
2025-09-02 18:11:13 -04:00

15 lines
372 B
Elixir

defmodule Sukaato.Repo.Migrations.UserAddMultifactorColumn do
use Ecto.Migration
def change do
alter table("users") do
add :multifactor, {:array, :integer}, default: [-1, -1, -1]
add :fido_priority, :integer
remove :fido_cred
add :fido_creds, {:array, :string}
remove :fido_key
add :fido_keys, {:array, :map}
end
end
end