mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-12 02:54:20 +00:00
26 lines
425 B
MySQL
26 lines
425 B
MySQL
|
BEGIN;
|
||
|
|
||
|
CREATE TABLE auth.user_grants (
|
||
|
id TEXT,
|
||
|
resource_owner TEXT,
|
||
|
project_id TEXT,
|
||
|
user_id TEXT,
|
||
|
org_name TEXT,
|
||
|
org_domain TEXT,
|
||
|
project_name TEXT,
|
||
|
user_name TEXT,
|
||
|
first_name TEXT,
|
||
|
last_name TEXT,
|
||
|
email TEXT,
|
||
|
role_keys TEXT Array,
|
||
|
|
||
|
grant_state SMALLINT,
|
||
|
creation_date TIMESTAMPTZ,
|
||
|
change_date TIMESTAMPTZ,
|
||
|
sequence BIGINT,
|
||
|
|
||
|
PRIMARY KEY (id)
|
||
|
);
|
||
|
|
||
|
COMMIT;
|