Update dependencies

This commit is contained in:
bluepython508
2024-05-08 12:45:57 +01:00
parent bd5a49e72b
commit 1e3727e293
6 changed files with 78 additions and 46 deletions

View File

@@ -0,0 +1,13 @@
defmodule SsoBsn.Repo.Migrations.OptionalPublicKeyForOauthClients do
use Ecto.Migration
def up do
alter table(:oauth_clients) do
modify :public_key, :text, null: true
end
end
def down do
alter table(:oauth_clients) do
modify :public_key, :text, null: false
end
end
end

View File

@@ -0,0 +1,10 @@
defmodule SsoBsn.Repo.Migrations.MetadataForClients do
use Ecto.Migration
def change do
alter table(:oauth_clients) do
add :metadata, :jsonb, default: "{}", null: false
add :logo_uri, :string
end
end
end

View File

@@ -0,0 +1,9 @@
defmodule SsoBsn.Repo.Migrations.ClientIdTokenKid do
use Ecto.Migration
def change do
alter table(:oauth_clients) do
add :id_token_kid, :string
end
end
end