mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-13 03:24:26 +00:00
40 lines
1.7 KiB
MySQL
40 lines
1.7 KiB
MySQL
|
CREATE TABLE auth.project_roles (
|
||
|
project_id TEXT,
|
||
|
role_key TEXT,
|
||
|
display_name TEXT,
|
||
|
resource_owner TEXT,
|
||
|
org_id TEXT,
|
||
|
group_name TEXT,
|
||
|
|
||
|
creation_date TIMESTAMPTZ,
|
||
|
sequence BIGINT,
|
||
|
|
||
|
PRIMARY KEY (org_id, project_id, role_key)
|
||
|
);
|
||
|
|
||
|
ALTER TABLE authz.user_grants ADD COLUMN org_primary_domain TEXT;
|
||
|
ALTER TABLE auth.user_grants ADD COLUMN org_primary_domain TEXT;
|
||
|
ALTER TABLE management.user_grants ADD COLUMN org_primary_domain TEXT;
|
||
|
|
||
|
ALTER TABLE authz.applications ADD COLUMN access_token_type SMALLINT;
|
||
|
ALTER TABLE auth.applications ADD COLUMN access_token_type SMALLINT;
|
||
|
ALTER TABLE management.applications ADD COLUMN access_token_type SMALLINT;
|
||
|
|
||
|
ALTER TABLE management.projects ADD COLUMN project_role_assertion BOOLEAN;
|
||
|
ALTER TABLE management.projects ADD COLUMN project_role_check BOOLEAN;
|
||
|
|
||
|
ALTER TABLE authz.applications ADD COLUMN project_role_assertion BOOLEAN;
|
||
|
ALTER TABLE auth.applications ADD COLUMN project_role_assertion BOOLEAN;
|
||
|
ALTER TABLE management.applications ADD COLUMN project_role_assertion BOOLEAN;
|
||
|
|
||
|
ALTER TABLE authz.applications ADD COLUMN project_role_check BOOLEAN;
|
||
|
ALTER TABLE auth.applications ADD COLUMN project_role_check BOOLEAN;
|
||
|
ALTER TABLE management.applications ADD COLUMN project_role_check BOOLEAN;
|
||
|
|
||
|
ALTER TABLE authz.applications ADD COLUMN access_token_role_assertion BOOLEAN;
|
||
|
ALTER TABLE auth.applications ADD COLUMN access_token_role_assertion BOOLEAN;
|
||
|
ALTER TABLE management.applications ADD COLUMN access_token_role_assertion BOOLEAN;
|
||
|
|
||
|
ALTER TABLE authz.applications ADD COLUMN id_token_role_assertion BOOLEAN;
|
||
|
ALTER TABLE auth.applications ADD COLUMN id_token_role_assertion BOOLEAN;
|
||
|
ALTER TABLE management.applications ADD COLUMN id_token_role_assertion BOOLEAN;
|