mirror of
https://github.com/bitwarden/server.git
synced 2025-06-30 15:42:48 -05:00
Update SQL files to be backwards compatible when adding columns (#1635)
* Update SQL files to be backwards compatible when adding columns * Remove 'UseResetPasswordCustomOrg' SQL script
This commit is contained in:
@ -11,6 +11,8 @@ UPDATE
|
||||
[dbo].[Organization]
|
||||
SET
|
||||
[UseSso] = (CASE WHEN [PlanType] = 10 OR [PlanType] = 11 THEN 1 ELSE 0 END)
|
||||
WHERE
|
||||
[UseSso] IS NULL
|
||||
GO
|
||||
|
||||
ALTER TABLE
|
||||
|
Reference in New Issue
Block a user