Add email to user table

This commit is contained in:
Omar Roth 2018-03-31 10:30:17 -05:00
parent 0e30ddb728
commit ffdf2ea4c5
2 changed files with 29 additions and 12 deletions

View file

@ -8,6 +8,9 @@ CREATE TABLE public.users
updated timestamp with time zone,
notifications integer,
subscriptions text[] COLLATE pg_catalog."default",
notifications_viewed timestamp with time zone,
email text COLLATE pg_catalog."default" NOT NULL,
CONSTRAINT users_email_key UNIQUE (email),
CONSTRAINT users_id_key UNIQUE (id)
)
WITH (