Update dependencies
This commit is contained in:
@@ -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
|
||||
10
priv/repo/migrations/20240508122235_metadata_for_clients.exs
Normal file
10
priv/repo/migrations/20240508122235_metadata_for_clients.exs
Normal 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
|
||||
@@ -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
|
||||
Reference in New Issue
Block a user