mirror of
https://github.com/andwati/zitadel.git
synced 2026-11-28 23:18:54 +00:00
feat: auth method projection (#3020)
* feat: auth method projection * feat: auth method projection * feat: add tests
This commit is contained in:
@@ -0,0 +1,15 @@
|
||||
CREATE TABLE zitadel.projections.user_auth_methods (
|
||||
token_id STRING NOT NULL
|
||||
, resource_owner STRING NOT NULL
|
||||
, creation_date TIMESTAMPTZ NOT NULL
|
||||
, change_date TIMESTAMPTZ NOT NULL
|
||||
, sequence INT8 NOT NULL
|
||||
|
||||
, user_id STRING NOT NULL
|
||||
, state INT2 NOT NULL
|
||||
, method_type INT2 NOT NULL
|
||||
, name STRING NOT NULL
|
||||
|
||||
, PRIMARY KEY (user_id, method_type, token_id)
|
||||
, INDEX idx_ro (resource_owner)
|
||||
);
|
||||
Reference in New Issue
Block a user