zitadel/migrations/cockroach/V1.108__iam.sql
Fabi b363ddd707
feat: Iam projection (#3074)
* feat: implement projection for iam and clean up code

* feat: add migration

* fix: remove unused tests

* fix: handler
2022-01-21 08:52:12 +01:00

13 lines
310 B
SQL

CREATE TABLE zitadel.projections.iam (
id STRING NOT NULL
, change_date TIMESTAMPTZ NOT NULL
, sequence INT8 NOT NULL
, global_org_id STRING DEFAULT ''
, iam_project_id STRING DEFAULT ''
, setup_started SMALLINT DEFAULT 0
, setup_done SMALLINT DEFAULT 0
, PRIMARY KEY (id)
);