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

FEAT #14213 TIME 0:15 Super admin user mode structure sql

parent f1252611
No related branches found
No related tags found
No related merge requests found
......@@ -206,6 +206,8 @@ CREATE TABLE usergroups_services
)
WITH (OIDS=FALSE);
CREATE TYPE users_modes AS ENUM ('standard', 'rest', 'root_visible', 'root_invisible');
CREATE TABLE users
(
id serial NOT NULL,
......@@ -220,6 +222,7 @@ CREATE TABLE users
status character varying(10) NOT NULL DEFAULT 'OK'::character varying,
password_modification_date timestamp without time zone DEFAULT CURRENT_TIMESTAMP,
loginmode character varying(50) DEFAULT NULL::character varying,
mode users_modes NOT NULL DEFAULT 'standard',
refresh_token jsonb NOT NULL DEFAULT '[]',
reset_token text,
failed_authentication INTEGER DEFAULT 0,
......
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