From 74cf3d18d0d6d6814185eb0d6847201be4e46afa Mon Sep 17 00:00:00 2001 From: Omar Roth Date: Wed, 15 Aug 2018 19:30:13 -0500 Subject: [PATCH] Remove ID constrant for users --- config/sql/users.sql | 3 +-- 1 file changed, 1 insertion(+), 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