Files
zitadel/migrations/cockroach/V1.6__authz_orgs.sql
T
5e00f1c9db feat: check if org exists (#480)
* feat: check if org exists

* feat: check if org exists

* Update internal/authz/repository/eventsourcing/eventstore/token_verifier.go

Co-authored-by: Silvan <[email protected]>

* fix: err handling

Co-authored-by: Silvan <[email protected]>
2020-07-16 13:27:36 +02:00

17 lines
243 B
PL/PgSQL

BEGIN;
CREATE TABLE authz.orgs (
id TEXT,
creation_date TIMESTAMPTZ,
change_date TIMESTAMPTZ,
resource_owner TEXT,
org_state SMALLINT,
sequence BIGINT,
domain TEXT,
name TEXT,
PRIMARY KEY (id)
);
COMMIT;