Add user preferences

This commit is contained in:
Omar Roth 2018-07-16 11:24:24 -05:00
parent f68b27da7c
commit 96c520b02b
8 changed files with 223 additions and 95 deletions

View file

@ -9,6 +9,7 @@ CREATE TABLE public.users
notifications text[] COLLATE pg_catalog."default",
subscriptions text[] COLLATE pg_catalog."default",
email text COLLATE pg_catalog."default" NOT NULL,
preferences text COLLAGE pg_catalog."default",
CONSTRAINT users_email_key UNIQUE (email),
CONSTRAINT users_id_key UNIQUE (id)
)