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