Add notifications

This commit is contained in:
Omar Roth
2018-03-31 19:09:27 -05:00
parent 823f679cef
commit 57102c54c7
4 changed files with 30 additions and 14 deletions

View File

@ -6,9 +6,8 @@ CREATE TABLE public.users
(
id text COLLATE pg_catalog."default" NOT NULL,
updated timestamp with time zone,
notifications integer,
notifications text[] COLLATE pg_catalog."default",
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)