fix(projections): user idp link projection (#2583)

* 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
This commit is contained in:
Silvan
2021-11-02 10:08:47 +01:00
committed by GitHub
parent 5ba1e45423
commit 92f9eedbe0
38 changed files with 626 additions and 359 deletions

View File

@@ -0,0 +1,14 @@
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)
);