summaryrefslogtreecommitdiffstats
path: root/config/sql
diff options
context:
space:
mode:
authorOmar Roth <omarroth@hotmail.com>2018-03-31 19:09:27 -0500
committerOmar Roth <omarroth@hotmail.com>2018-03-31 19:09:27 -0500
commit57102c54c776a08eab79bf6cb0bc6473a8c7a557 (patch)
tree3c90ccf5c6ebf4439c1e3375a43df6dbe9623cd3 /config/sql
parent823f679cef1d9d0547cc0da1e9cd5a191a65a43b (diff)
downloadinvidious-57102c54c776a08eab79bf6cb0bc6473a8c7a557.tar.gz
invidious-57102c54c776a08eab79bf6cb0bc6473a8c7a557.tar.bz2
invidious-57102c54c776a08eab79bf6cb0bc6473a8c7a557.zip
Add notifications
Diffstat (limited to 'config/sql')
-rw-r--r--config/sql/users.sql3
1 files changed, 1 insertions, 2 deletions
diff --git a/config/sql/users.sql b/config/sql/users.sql
index fc4adef5..0142ab40 100644
--- a/config/sql/users.sql
+++ b/config/sql/users.sql
@@ -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)