From 5cf2d10757fa726044174e35bffdba6a6a9ac8c4 Mon Sep 17 00:00:00 2001 From: xbgmsharp Date: Fri, 12 Jan 2024 22:13:54 +0100 Subject: [PATCH] Fix syntax error from 489fb9562b4ccd6a5bf9d66d0bc17e841f9a8c5e --- initdb/02_3_1_signalk_public_tables.sql | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/initdb/02_3_1_signalk_public_tables.sql b/initdb/02_3_1_signalk_public_tables.sql index 1d1b72b..57d9a6a 100644 --- a/initdb/02_3_1_signalk_public_tables.sql +++ b/initdb/02_3_1_signalk_public_tables.sql @@ -181,7 +181,7 @@ begin -- Add email_otp check only if not from oauth server if (NEW.preferences->>'email_verified')::boolean IS NOT True then insert into process_queue (channel, payload, stored, ref_id) values ('email_otp', NEW.email, now(), NEW.user_id); - end if + end if; return NEW; END; $new_account_otp_validation_entry$ language plpgsql;