From 658f79b80edeca6566027499e1813068357f3be4 Mon Sep 17 00:00:00 2001 From: Vincent Salucci <26154748+vincentsalucci@users.noreply.github.com> Date: Wed, 16 Jun 2021 14:40:27 -0500 Subject: [PATCH] [Reset Password] Update Custom orgs for UseResetPassword (#1399) * [Reset Password] Update Custom orgs for UseResetPassword * Improved script content --- .../DbScripts/2021-06-15_00_UseResetPasswordCustomOrg.sql | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 util/Migrator/DbScripts/2021-06-15_00_UseResetPasswordCustomOrg.sql diff --git a/util/Migrator/DbScripts/2021-06-15_00_UseResetPasswordCustomOrg.sql b/util/Migrator/DbScripts/2021-06-15_00_UseResetPasswordCustomOrg.sql new file mode 100644 index 0000000000..b9b4e5b45d --- /dev/null +++ b/util/Migrator/DbScripts/2021-06-15_00_UseResetPasswordCustomOrg.sql @@ -0,0 +1,6 @@ +-- For Enterprise (annual/monthly) and Custom (internal) orgs, enable potential use of UseResetPassword +UPDATE + [dbo].[Organization] +SET + [UseResetPassword] = (CASE WHEN [PlanType] IN (10, 11, 6) THEN 1 ELSE [UseResetPassword] END) +GO \ No newline at end of file