Update: Database fields
This commit is contained in:
parent
ad59b66279
commit
9be59a8419
5 changed files with 55 additions and 29 deletions
|
|
@ -2,10 +2,10 @@
|
|||
|
||||
CREATE TABLE IF NOT EXISTS users
|
||||
(
|
||||
id integer NOT NULL,
|
||||
id serial PRIMARY KEY,
|
||||
email character varying(320) NOT NULL,
|
||||
login character varying(32) NOT NULL,
|
||||
hash_pass character varying(256) NOT NULL,
|
||||
is_admin boolean NOT NULL DEFAULT FALSE,
|
||||
CONSTRAINT users_pkey PRIMARY KEY(id)
|
||||
hash_pass bytea NOT NULL,
|
||||
salt bytea NOT NULL,
|
||||
is_admin boolean NOT NULL DEFAULT FALSE
|
||||
)
|
||||
Loading…
Add table
Add a link
Reference in a new issue