mirror of
https://github.com/zitadel/zitadel.git
synced 2024-12-12 11:04:25 +00:00
45 lines
1.0 KiB
MySQL
45 lines
1.0 KiB
MySQL
|
CREATE TABLE management.lockout_policies (
|
||
|
aggregate_id TEXT,
|
||
|
|
||
|
creation_date TIMESTAMPTZ,
|
||
|
change_date TIMESTAMPTZ,
|
||
|
lockout_policy_state SMALLINT,
|
||
|
sequence BIGINT,
|
||
|
|
||
|
max_password_attempts BIGINT,
|
||
|
show_lockout_failures BOOLEAN,
|
||
|
|
||
|
PRIMARY KEY (aggregate_id)
|
||
|
);
|
||
|
|
||
|
CREATE TABLE adminapi.lockout_policies (
|
||
|
aggregate_id TEXT,
|
||
|
|
||
|
creation_date TIMESTAMPTZ,
|
||
|
change_date TIMESTAMPTZ,
|
||
|
lockout_policy_state SMALLINT,
|
||
|
sequence BIGINT,
|
||
|
|
||
|
max_password_attempts BIGINT,
|
||
|
show_lockout_failures BOOLEAN,
|
||
|
|
||
|
PRIMARY KEY (aggregate_id)
|
||
|
);
|
||
|
|
||
|
CREATE TABLE auth.lockout_policies (
|
||
|
aggregate_id TEXT,
|
||
|
|
||
|
creation_date TIMESTAMPTZ,
|
||
|
change_date TIMESTAMPTZ,
|
||
|
lockout_policy_state SMALLINT,
|
||
|
sequence BIGINT,
|
||
|
|
||
|
max_password_attempts BIGINT,
|
||
|
show_lockout_failures BOOLEAN,
|
||
|
|
||
|
PRIMARY KEY (aggregate_id)
|
||
|
);
|
||
|
|
||
|
DROP TABLE management.password_lockout_policies;
|
||
|
DROP TABLE adminapi.password_lockout_policies;
|
||
|
DROP TABLE auth.password_lockout_policies;
|