diff --git a/.gitignore b/.gitignore index 21ad3ba82f..20d0d22d3f 100644 --- a/.gitignore +++ b/.gitignore @@ -2,3 +2,4 @@ bin dist _output .idea +.DS_Store \ No newline at end of file diff --git a/storage/sql/migrate.go b/storage/sql/migrate.go index b9710d94ff..1c15068dc4 100644 --- a/storage/sql/migrate.go +++ b/storage/sql/migrate.go @@ -98,7 +98,6 @@ var migrations = []migration{ claims_email text not null, claims_email_verified boolean not null, claims_groups bytea not null, -- JSON array of strings - claims_locale text not null, connector_id text not null, connector_data bytea, @@ -118,7 +117,6 @@ var migrations = []migration{ claims_email text not null, claims_email_verified boolean not null, claims_groups bytea not null, -- JSON array of strings - claims_locale text not null, connector_id text not null, connector_data bytea, @@ -137,7 +135,6 @@ var migrations = []migration{ claims_email text not null, claims_email_verified boolean not null, claims_groups bytea not null, -- JSON array of strings - claims_locale text not null, connector_id text not null, connector_data bytea @@ -193,4 +190,16 @@ var migrations = []migration{ );`, }, }, + { + stmts: []string{` + alter table auth_request + add column claims_locale text not null default '';`, + ` + alter table auth_code + add column claims_locale text not null default '';`, + ` + alter table refresh_token + add column claims_locale text not null default '';`, + }, + }, }