prevent duplicate email registering

This commit is contained in:
2026-05-05 20:14:18 +02:00
parent 65ecca8c61
commit f6647cd075
4 changed files with 44 additions and 9 deletions

View File

@@ -1962,6 +1962,14 @@ ALTER TABLE ONLY public."user"
ADD CONSTRAINT user_name_unique UNIQUE ("user");
--
-- Name: user user_email_unique; Type: CONSTRAINT; Schema: public; Owner: f0ckm
--
ALTER TABLE ONLY public."user"
ADD CONSTRAINT user_email_unique UNIQUE (email);
--
-- Name: user_options user_options_user_id; Type: CONSTRAINT; Schema: public; Owner: f0ckm
--