From 0fbac67895e5d5088d3f47a3822ef18e446500cb Mon Sep 17 00:00:00 2001 From: xbgmsharp Date: Fri, 1 Dec 2023 23:51:13 +0100 Subject: [PATCH] Remove Duplicate Indexes --- initdb/02_5_signalk_auth_otp.sql | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/initdb/02_5_signalk_auth_otp.sql b/initdb/02_5_signalk_auth_otp.sql index 504017c..58846ae 100644 --- a/initdb/02_5_signalk_auth_otp.sql +++ b/initdb/02_5_signalk_auth_otp.sql @@ -22,7 +22,8 @@ COMMENT ON TABLE IS 'Stores temporal otp code for up to 15 minutes'; -- Indexes CREATE INDEX otp_pass_idx ON auth.otp (otp_pass); -CREATE INDEX otp_user_email_idx ON auth.otp (user_email); +-- Duplicate Indexes +--CREATE INDEX otp_user_email_idx ON auth.otp (user_email); DROP FUNCTION IF EXISTS public.generate_uid_fn; CREATE OR REPLACE FUNCTION public.generate_uid_fn(size INT) RETURNS TEXT