Added additional columns to user table

This commit is contained in:
2025-09-02 18:11:13 -04:00
parent 63158c1406
commit 0b8cfa1385
6 changed files with 77 additions and 0 deletions

View File

@@ -0,0 +1,14 @@
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