fixup! fixup! fixup! fixup! fixup! added first event

This commit is contained in:
Iraq Jaber
2025-07-29 13:24:42 +01:00
parent 4f75d9b561
commit ae65867849
10 changed files with 787 additions and 236 deletions

View File

@@ -1,3 +1,4 @@
DROP TABLE zitadel.identity_providers;
DROP Type zitadel.idp_state;
DROP Type zitadel.idp_type;
DROP Type zitadel.idp_auto_linking_option;

View File

@@ -15,6 +15,12 @@ CREATE TYPE zitadel.idp_type AS ENUM (
'apple'
);
CREATE TYPE zitadel.idp_auto_linking_option AS ENUM (
'unspecified',
'username',
'email'
);
CREATE TABLE zitadel.identity_providers (
instance_id TEXT NOT NULL
, org_id TEXT
@@ -27,7 +33,7 @@ CREATE TABLE zitadel.identity_providers (
, allow_auto_creation BOOLEAN NOT NULL DEFAULT TRUE
, allow_auto_update BOOLEAN NOT NULL DEFAULT TRUE
, allow_linking BOOLEAN NOT NULL DEFAULT TRUE
, allow_auto_linking BOOLEAN NOT NULL DEFAULT TRUE
, allow_auto_linking zitadel.idp_auto_linking_option NOT NULL DEFAULT 'unspecified'
, styling_type SMALLINT
, payload JSONB