mirror of
https://github.com/bitwarden/server.git
synced 2024-12-05 14:23:30 +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
|