mirror of
https://github.com/bitwarden/server.git
synced 2024-11-23 12:25:16 +01:00
19 lines
308 B
Transact-SQL
19 lines
308 B
Transact-SQL
BEGIN TRY
|
|
BEGIN TRANSACTION;
|
|
|
|
UPDATE
|
|
[dbo].[Organization]
|
|
SET
|
|
[UseSso] = 1,
|
|
[UseScim] = 1,
|
|
[UseResetPassword] = 1
|
|
WHERE
|
|
[PlanType] IN (4, 5) -- Enterprise 2019
|
|
|
|
COMMIT TRANSACTION;
|
|
END TRY
|
|
BEGIN CATCH
|
|
ROLLBACK TRANSACTION;
|
|
THROW;
|
|
END CATCH
|