From 2d41edf1f99303856cd735847766faebf4ff2ebc Mon Sep 17 00:00:00 2001 From: Vincent Salucci <26154748+vincentsalucci@users.noreply.github.com> Date: Mon, 28 Jun 2021 12:15:55 -0500 Subject: [PATCH] [Reset Password] Updated OrgResetPasswordAbilityAndRsaKeys sql script (#1418) * Updated OrgResetPasswordAbilityAndRsaKeys sql script * Removed unnecessary null check --- .../2021-04-28_00_OrgResetPasswordAbilityAndRsaKeys.sql | 2 ++ 1 file changed, 2 insertions(+) diff --git a/util/Migrator/DbScripts/2021-04-28_00_OrgResetPasswordAbilityAndRsaKeys.sql b/util/Migrator/DbScripts/2021-04-28_00_OrgResetPasswordAbilityAndRsaKeys.sql index c0a1cecb91..f7f3f17646 100644 --- a/util/Migrator/DbScripts/2021-04-28_00_OrgResetPasswordAbilityAndRsaKeys.sql +++ b/util/Migrator/DbScripts/2021-04-28_00_OrgResetPasswordAbilityAndRsaKeys.sql @@ -12,6 +12,8 @@ UPDATE [dbo].[Organization] SET [UseResetPassword] = (CASE WHEN [PlanType] = 10 OR [PlanType] = 11 THEN 1 ELSE 0 END) +WHERE + [UseResetPassword] IS NULL GO ALTER TABLE