Skip to content

Commit

Permalink
Remove Duplicate Indexes
Browse files Browse the repository at this point in the history
  • Loading branch information
xbgmsharp committed Dec 1, 2023
1 parent 228b234 commit 0fbac67
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion initdb/02_5_signalk_auth_otp.sql
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 0fbac67

Please sign in to comment.