mirror of
https://github.com/bitwarden/server.git
synced 2024-12-05 14:23:30 +01:00
f9fc43dbb1
* Upgraded old 2019 plans to have the same features as 2020 and beyond * Removed redundant test and moved additional test cases to GetByOrgIdAsync_SmNoneFreePlans_ReturnsNull * Fixed issue where feature flag wasn't returning correct plans * Resolved issue where getting plans would return a value that LINQ previously cached when feature flag was in a different state --------- Co-authored-by: cyprain-okeke <108260115+cyprain-okeke@users.noreply.github.com>
17 lines
261 B
Transact-SQL
17 lines
261 B
Transact-SQL
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
|