summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorOmar Roth <omarroth@hotmail.com>2018-08-15 19:30:13 -0500
committerOmar Roth <omarroth@hotmail.com>2018-08-15 19:30:13 -0500
commit74cf3d18d0d6d6814185eb0d6847201be4e46afa (patch)
treeb645298715770f92dabc9dba5e4f70b9738b34fd /config
parent8adb4650a02c4c3abb66119373b7da831230d46b (diff)
downloadinvidious-74cf3d18d0d6d6814185eb0d6847201be4e46afa.tar.gz
invidious-74cf3d18d0d6d6814185eb0d6847201be4e46afa.tar.bz2
invidious-74cf3d18d0d6d6814185eb0d6847201be4e46afa.zip
Remove ID constrant for users
Diffstat (limited to 'config')
-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 605e1f7f..7f452e4c 100644
--- a/config/sql/users.sql
+++ b/config/sql/users.sql
@@ -13,8 +13,7 @@ CREATE TABLE public.users
password text COLLATE pg_catalog."default",
token text COLLATE pg_catalog."default",
watched text[] COLLATE pg_catalog."default",
- CONSTRAINT users_email_key UNIQUE (email),
- CONSTRAINT users_id_key UNIQUE (id)
+ CONSTRAINT users_email_key UNIQUE (email)
)
WITH (
OIDS = FALSE