mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-12 11:04:25 +00:00
46 lines
983 B
MySQL
46 lines
983 B
MySQL
|
ALTER TABLE adminapi.features ADD COLUMN privacy_policy BOOLEAN;
|
||
|
ALTER TABLE auth.features ADD COLUMN privacy_policy BOOLEAN;
|
||
|
ALTER TABLE authz.features ADD COLUMN privacy_policy BOOLEAN;
|
||
|
ALTER TABLE management.features ADD COLUMN privacy_policy BOOLEAN;
|
||
|
|
||
|
CREATE TABLE auth.privacy_policies (
|
||
|
aggregate_id TEXT,
|
||
|
|
||
|
creation_date TIMESTAMPTZ,
|
||
|
change_date TIMESTAMPTZ,
|
||
|
state SMALLINT,
|
||
|
sequence BIGINT,
|
||
|
|
||
|
tos_link STRING,
|
||
|
privacy_link STRING,
|
||
|
|
||
|
PRIMARY KEY (aggregate_id)
|
||
|
);
|
||
|
|
||
|
CREATE TABLE adminapi.privacy_policies (
|
||
|
aggregate_id TEXT,
|
||
|
|
||
|
creation_date TIMESTAMPTZ,
|
||
|
change_date TIMESTAMPTZ,
|
||
|
state SMALLINT,
|
||
|
sequence BIGINT,
|
||
|
|
||
|
tos_link STRING,
|
||
|
privacy_link STRING,
|
||
|
|
||
|
PRIMARY KEY (aggregate_id)
|
||
|
);
|
||
|
|
||
|
CREATE TABLE management.privacy_policies (
|
||
|
aggregate_id TEXT,
|
||
|
|
||
|
creation_date TIMESTAMPTZ,
|
||
|
change_date TIMESTAMPTZ,
|
||
|
state SMALLINT,
|
||
|
sequence BIGINT,
|
||
|
|
||
|
tos_link STRING,
|
||
|
privacy_link STRING,
|
||
|
|
||
|
PRIMARY KEY (aggregate_id)
|
||
|
);
|