mirror of
https://github.com/andwati/zitadel.git
synced 2026-11-19 03:35:12 +00:00
feat: Default configs sms provider (#3187)
* feat: sms config * feat: twilio as sms provider * feat:sms projection * feat: sms queries * feat: sms queries test * feat: sms configs * feat: sms configs sql file * fix merge * fix: rename from to sendername * fix: proto comments * fix: token as crypto * fix: tests * fix: sms config sender name to sender number * fix: sms config sender name to sender number * Update email.go * Update channel.go * Update V1.111__settings.sql Co-authored-by: Livio Amstutz <[email protected]>
This commit is contained in:
@@ -27,10 +27,31 @@ CREATE TABLE zitadel.projections.smtp_configs (
|
||||
|
||||
, tls BOOLEAN NOT NULL
|
||||
, sender_address STRING NOT NULL
|
||||
, sender_name STRING NOT NULL
|
||||
, sender_number STRING NOT NULL
|
||||
, host STRING NOT NULL
|
||||
, username STRING NOT NULL DEFAULT ''
|
||||
, password JSONB
|
||||
|
||||
, PRIMARY KEY (aggregate_id)
|
||||
);
|
||||
|
||||
CREATE TABLE zitadel.projections.sms_configs (
|
||||
id STRING 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
|
||||
, state INT2
|
||||
|
||||
, PRIMARY KEY (id)
|
||||
);
|
||||
|
||||
CREATE TABLE zitadel.projections.sms_configs_twilio (
|
||||
sms_id STRING NOT NULL
|
||||
,sid STRING NOT NULL
|
||||
,sender_name STRING NOT NULL
|
||||
,token JSONB
|
||||
|
||||
, PRIMARY KEY (sms_id)
|
||||
);
|
||||
|
||||
Reference in New Issue
Block a user