mirror of
https://github.com/andwati/zitadel.git
synced 2026-11-10 16:15:12 +00:00
fix: add authnkeys projection (#2801)
* begin authn keys * single table for state change * add key type * rename migration * format imports * fix test
This commit is contained in:
@@ -0,0 +1,16 @@
|
||||
CREATE TABLE zitadel.projections.authn_keys(
|
||||
id STRING
|
||||
, creation_date TIMESTAMPTZ NOT NULL
|
||||
, resource_owner STRING NOT NULL
|
||||
, aggregate_id STRING NOT NULL
|
||||
, sequence INT8 NOT NULL
|
||||
|
||||
, object_id STRING NOT NULL
|
||||
, expiration TIMESTAMPTZ NOT NULL
|
||||
, identifier STRING NOT NULL
|
||||
, public_key BYTES NOT NULL
|
||||
, enabled BOOLEAN NOT NULL DEFAULT true
|
||||
, type INT2 NOT NULL DEFAULT 0
|
||||
|
||||
, PRIMARY KEY (id)
|
||||
);
|
||||
Reference in New Issue
Block a user