mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-18 05:47:32 +00:00
c2e6fd8f40
* fix: add metadata projection * cleanup
14 lines
345 B
SQL
14 lines
345 B
SQL
CREATE TABLE zitadel.projections.user_metadata (
|
|
user_id STRING NOT NULL
|
|
, resource_owner STRING NOT NULL
|
|
, creation_date TIMESTAMPTZ NOT NULL
|
|
, change_date TIMESTAMPTZ NOT NULL
|
|
, sequence INT8 NOT NULL
|
|
|
|
, key STRING NOT NULL
|
|
, value BYTES
|
|
|
|
, PRIMARY KEY (user_id, key)
|
|
, INDEX idx_ro (resource_owner)
|
|
);
|