1
0
mirror of https://github.com/bitwarden/server.git synced 2025-01-02 18:47:44 +01:00
bitwarden-server/util/Migrator/DbScripts/2021-06-15_00_UseResetPasswordCustomOrg.sql

6 lines
240 B
MySQL
Raw Normal View History

-- 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