Postgresql – Postgres: Do not auto increment user "id" if "email" already exists?
Having id as the primary key for a user when they sign up with an email, the id field is set to auto increment. It seems that when a user is trying to sign up with an email that already…