mirror of
https://github.com/zitadel/zitadel.git
synced 2025-08-13 18:59:06 +00:00
feat: Private label email policy (#813)
* Label Policy added * save * chore: update docs action * Save * Save * Get colors from DB * Variables inserted * Get images from global directory. * Add tests * Add tests * Corrections from mergerequest * Corrections from mergerequest * Test corrected. * Added colors to all notifications. * Added colors to Corrected text and formatting.all notifications. * Spelling error corrected. * fix: tests * Merge Branch corrected. * Step6 added * Corrections from mergerequest * fix: generate management * Formatted texts. * fix: migrations Co-authored-by: Florian Forster <florian@caos.ch> Co-authored-by: adlerhurst <silvan.reusser@gmail.com> Co-authored-by: Fabiennne <fabienne.gerschwiler@gmail.com>
This commit is contained in:
31
migrations/cockroach/V1.20__label_policies.sql
Normal file
31
migrations/cockroach/V1.20__label_policies.sql
Normal file
@@ -0,0 +1,31 @@
|
||||
CREATE TABLE adminapi.label_policies (
|
||||
aggregate_id TEXT,
|
||||
|
||||
creation_date TIMESTAMPTZ,
|
||||
change_date TIMESTAMPTZ,
|
||||
label_policy_state SMALLINT,
|
||||
sequence BIGINT,
|
||||
|
||||
primary_color TEXT,
|
||||
secondary_color TEXT,
|
||||
|
||||
PRIMARY KEY (aggregate_id)
|
||||
);
|
||||
|
||||
|
||||
CREATE TABLE management.label_policies (
|
||||
aggregate_id TEXT,
|
||||
|
||||
creation_date TIMESTAMPTZ,
|
||||
change_date TIMESTAMPTZ,
|
||||
label_policy_state SMALLINT,
|
||||
sequence BIGINT,
|
||||
|
||||
primary_color TEXT,
|
||||
secondary_color TEXT,
|
||||
|
||||
PRIMARY KEY (aggregate_id)
|
||||
);
|
||||
|
||||
GRANT SELECT ON TABLE adminapi.label_policies TO notification;
|
||||
GRANT SELECT ON TABLE management.label_policies TO notification;
|
Reference in New Issue
Block a user