zitadel/migrations/cockroach/V1.49__avatar.sql
Livio Amstutz 770994e143
fix: add avatar url in members, user grants, session and oidc responses (#1852)
* fix: add avatar url in members, user grants, session and oidc responses

* fix auth request tests
2021-06-11 13:20:39 +02:00

16 lines
948 B
SQL

ALTER TABLE adminapi.iam_members ADD COLUMN avatar_key TEXT;
ALTER TABLE auth.user_grants ADD COLUMN avatar_key TEXT;
ALTER TABLE authz.user_grants ADD COLUMN avatar_key TEXT;
ALTER TABLE management.org_members ADD COLUMN avatar_key TEXT;
ALTER TABLE management.project_members ADD COLUMN avatar_key TEXT;
ALTER TABLE management.project_grant_members ADD COLUMN avatar_key TEXT;
ALTER TABLE management.user_grants ADD COLUMN avatar_key TEXT;
ALTER TABLE adminapi.iam_members ADD COLUMN user_resource_owner TEXT;
ALTER TABLE management.org_members ADD COLUMN user_resource_owner TEXT;
ALTER TABLE management.project_members ADD COLUMN user_resource_owner TEXT;
ALTER TABLE management.project_grant_members ADD COLUMN user_resource_owner TEXT;
ALTER TABLE auth.user_grants ADD COLUMN user_resource_owner TEXT;
ALTER TABLE authz.user_grants ADD COLUMN user_resource_owner TEXT;
ALTER TABLE management.user_grants ADD COLUMN user_resource_owner TEXT;