mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-12 11:04:25 +00:00
92f9eedbe0
* fix(projections): add app * fix(migration): add index for project_id * test: app projection * fix(projections): add idp_user_link * test: idp user link * fix: migration versions * refactor: rename externalIDP to UserIDPLink * fix: interface methods
15 lines
326 B
SQL
15 lines
326 B
SQL
CREATE TABLE zitadel.projections.idp_user_links(
|
|
idp_id STRING,
|
|
user_id STRING,
|
|
external_user_id STRING,
|
|
display_name STRING,
|
|
|
|
creation_date TIMESTAMPTZ,
|
|
change_date TIMESTAMPTZ,
|
|
sequence INT8,
|
|
resource_owner STRING,
|
|
|
|
PRIMARY KEY (idp_id, external_user_id),
|
|
INDEX idx_user (user_id)
|
|
);
|