Skip to content
Snippets Groups Projects
Verified Commit 0800d212 authored by Damien's avatar Damien
Browse files

FEAT #7659 Structure sql

parent 7ed721ec
No related branches found
No related tags found
No related merge requests found
...@@ -231,6 +231,8 @@ CREATE TABLE users ...@@ -231,6 +231,8 @@ CREATE TABLE users
loginmode character varying(50) DEFAULT NULL::character varying, loginmode character varying(50) DEFAULT NULL::character varying,
cookie_key character varying(255) DEFAULT NULL::character varying, cookie_key character varying(255) DEFAULT NULL::character varying,
cookie_date timestamp without time zone, cookie_date timestamp without time zone,
failed_authentication INTEGER DEFAULT 0,
locked_until TIMESTAMP without time zone,
thumbprint text DEFAULT NULL::character varying, thumbprint text DEFAULT NULL::character varying,
CONSTRAINT users_pkey PRIMARY KEY (user_id), CONSTRAINT users_pkey PRIMARY KEY (user_id),
CONSTRAINT users_id_key UNIQUE (id) CONSTRAINT users_id_key UNIQUE (id)
...@@ -2205,4 +2207,12 @@ CREATE TABLE password_rules ...@@ -2205,4 +2207,12 @@ CREATE TABLE password_rules
) )
WITH (OIDS=FALSE); WITH (OIDS=FALSE);
CREATE TABLE password_history
(
id serial,
user_serial_id INTEGER NOT NULL,
password character varying(255) NOT NULL,
CONSTRAINT password_history_pkey PRIMARY KEY (id)
)
WITH (OIDS=FALSE);
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment