19 lines
701 B
MySQL
19 lines
701 B
MySQL
|
CREATE TABLE public.users
|
||
|
(
|
||
|
"UserID" character varying(10)[] NOT NULL,
|
||
|
"ActiveDirectoryAuth" boolean NOT NULL DEFAULT false,
|
||
|
"Name" character varying(250) NOT NULL DEFAULT '',
|
||
|
"Surname" character varying(250) NOT NULL DEFAULT '',
|
||
|
"Email" character varying(500) NOT NULL DEFAULT '',
|
||
|
"Password" character varying(255) NOT NULL DEFAULT '',
|
||
|
"CreationDate" timestamp without time zone NOT NULL DEFAULT NOW(),
|
||
|
"LastChanged" timestamp without time zone NOT NULL DEFAULT NOW(),
|
||
|
"StatusFlag" smallint NOT NULL,
|
||
|
PRIMARY KEY ("UserID")
|
||
|
);
|
||
|
|
||
|
ALTER TABLE IF EXISTS public.users
|
||
|
OWNER to postgres;
|
||
|
|
||
|
COMMENT ON TABLE public.users
|
||
|
IS 'Table containing user information';
|