mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-18 05:47:32 +00:00
50 lines
958 B
MySQL
50 lines
958 B
MySQL
|
CREATE TABLE zitadel.projections.mail_templates (
|
||
|
aggregate_id TEXT NOT NULL,
|
||
|
|
||
|
creation_date TIMESTAMPTZ,
|
||
|
change_date TIMESTAMPTZ,
|
||
|
state SMALLINT,
|
||
|
sequence BIGINT,
|
||
|
is_default BOOLEAN,
|
||
|
|
||
|
template BYTES,
|
||
|
|
||
|
PRIMARY KEY (aggregate_id)
|
||
|
);
|
||
|
|
||
|
CREATE TABLE zitadel.projections.message_texts (
|
||
|
aggregate_id TEXT,
|
||
|
|
||
|
creation_date TIMESTAMPTZ,
|
||
|
change_date TIMESTAMPTZ,
|
||
|
state SMALLINT,
|
||
|
sequence BIGINT,
|
||
|
|
||
|
type TEXT,
|
||
|
language TEXT,
|
||
|
title TEXT,
|
||
|
pre_header TEXT,
|
||
|
subject TEXT,
|
||
|
greeting TEXT,
|
||
|
text TEXT,
|
||
|
button_text TEXT,
|
||
|
footer_text TEXT,
|
||
|
|
||
|
PRIMARY KEY (aggregate_id, type, language)
|
||
|
);
|
||
|
|
||
|
CREATE TABLE zitadel.projections.custom_texts (
|
||
|
aggregate_id TEXT,
|
||
|
|
||
|
creation_date TIMESTAMPTZ,
|
||
|
change_date TIMESTAMPTZ,
|
||
|
sequence BIGINT,
|
||
|
is_default BOOLEAN,
|
||
|
|
||
|
template TEXT,
|
||
|
language TEXT,
|
||
|
key TEXT,
|
||
|
text TEXT,
|
||
|
|
||
|
PRIMARY KEY (aggregate_id, template, key, language)
|
||
|
);
|