mirror of
https://github.com/bitwarden/server.git
synced 2024-11-29 13:25:17 +01:00
17 lines
261 B
MySQL
17 lines
261 B
MySQL
|
BEGIN TRY
|
||
|
BEGIN TRANSACTION;
|
||
|
|
||
|
UPDATE
|
||
|
[dbo].[Organization]
|
||
|
SET
|
||
|
[UsersGetPremium] = 1
|
||
|
WHERE
|
||
|
[PlanType] = 1 -- Families 2019 Annual
|
||
|
|
||
|
COMMIT TRANSACTION;
|
||
|
END TRY
|
||
|
BEGIN CATCH
|
||
|
ROLLBACK TRANSACTION;
|
||
|
THROW;
|
||
|
END CATCH
|