Current section

Files

Jump to
boruta priv repo migrations 20210106124938_add_pkce_to_clients.exs
Raw

priv/repo/migrations/20210106124938_add_pkce_to_clients.exs

defmodule Boruta.Repo.Migrations.AddPkceToClients do
use Ecto.Migration
def change do
alter table(:clients) do
add(:pkce, :boolean, default: false)
end
alter table(:tokens) do
add(:code_challenge_hash, :string)
add(:code_challenge_method, :string)
end
end
end