mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-12 11:04:25 +00:00
16 lines
350 B
MySQL
16 lines
350 B
MySQL
|
CREATE TABLE management.user_memberships (
|
||
|
user_id TEXT,
|
||
|
member_type SMALLINT,
|
||
|
aggregate_id TEXT,
|
||
|
object_id TEXT,
|
||
|
|
||
|
roles TEXT ARRAY,
|
||
|
display_name TEXT,
|
||
|
resource_owner TEXT,
|
||
|
creation_date TIMESTAMPTZ,
|
||
|
change_date TIMESTAMPTZ,
|
||
|
sequence BIGINT,
|
||
|
|
||
|
PRIMARY KEY (user_id, member_type, aggregate_id, object_id)
|
||
|
);
|