Fix schema

This commit is contained in:
2018-08-03 00:09:43 +03:00
parent 9dc1a7dca2
commit cf8360fd95
3 changed files with 19 additions and 17 deletions

View File

@ -1,5 +1,9 @@
create table users (
email varchar(64) primary key,
username varchar(64),
password varchar(64)
);
CREATE TABLE public.users (
email text NOT NULL,
username text NOT NULL,
"password" bytea NOT NULL,
CONSTRAINT users_pkey PRIMARY KEY (email)
)
WITH (
OIDS=FALSE
) ;