mirror of
https://github.com/andwati/zitadel.git
synced 2026-10-28 01:52:16 +00:00
* feat: add default language to eventstore * feat: add secret generator configs events * feat: tests * feat: secret generators in eventstore * feat: secret generators in eventstore * feat: smtp config in eventstore * feat: smtp config in eventstore * feat: smtp config in eventstore * feat: smtp config in eventstore * feat: smtp config in eventstore * fix: migrations * fix migration version * fix test * feat: change secret generator type to enum * feat: change smtp attribute names * feat: change smtp attribute names * feat: remove engryption algorithms from command side * feat: remove engryption algorithms from command side * feat: smtp config * feat: smtp config * format smtp from header Co-authored-by: Livio Amstutz <[email protected]>
37 lines
1.1 KiB
SQL
37 lines
1.1 KiB
SQL
ALTER TABLE zitadel.projections.iam ADD COLUMN default_language TEXT DEFAULT '';
|
|
|
|
CREATE TABLE zitadel.projections.secret_generators (
|
|
generator_type INT2 NOT NULL
|
|
, aggregate_id STRING NOT NULL
|
|
, creation_date TIMESTAMPTZ NOT NULL
|
|
, change_date TIMESTAMPTZ NOT NULL
|
|
, resource_owner STRING NOT NULL
|
|
, sequence INT8 NOT NULL
|
|
|
|
, length BIGINT NOT NULL
|
|
, expiry BIGINT NOT NULL
|
|
, include_lower_letters BOOLEAN NOT NULL
|
|
, include_upper_letters BOOLEAN NOT NULL
|
|
, include_digits BOOLEAN NOT NULL
|
|
, include_symbols BOOLEAN NOT NULL
|
|
|
|
, PRIMARY KEY (generator_type, aggregate_id)
|
|
);
|
|
|
|
CREATE TABLE zitadel.projections.smtp_configs (
|
|
aggregate_id STRING NOT NULL
|
|
, creation_date TIMESTAMPTZ NOT NULL
|
|
, change_date TIMESTAMPTZ NOT NULL
|
|
, resource_owner STRING NOT NULL
|
|
, sequence INT8 NOT NULL
|
|
|
|
, tls BOOLEAN NOT NULL
|
|
, sender_address STRING NOT NULL
|
|
, sender_name STRING NOT NULL
|
|
, host STRING NOT NULL
|
|
, username STRING NOT NULL DEFAULT ''
|
|
, password JSONB
|
|
|
|
, PRIMARY KEY (aggregate_id)
|
|
);
|