mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-12 11:04:25 +00:00
beb1c1604a
* feat: command side privacy policy * feat: add privacy policy to api * feat: add privacy policy query side * fix: add privacy policy to mgmt api * fix: add privacy policy to auth and base data * feat: use privacyPolicy in login gui * feat: use privacyPolicy in login gui * feat: test org fatures * feat: typos * feat: tos in register
46 lines
983 B
SQL
46 lines
983 B
SQL
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)
|
|
); |