mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-18 05:47:32 +00:00
31 lines
660 B
MySQL
31 lines
660 B
MySQL
|
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;
|