Added additional columns to user table
This commit is contained in:
@@ -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
|
||||
Reference in New Issue
Block a user