mirror of
https://github.com/bitwarden/server.git
synced 2024-12-05 14:23:30 +01:00
de79d57d6e
* Updated org edit form scripts to dynamically update expected values * Added script to update null values on organization table * Updated script to only add MaxStorageGb for premium tiers. Removed setting of seats since it's not a valid edge case * Updated GetPlansHelper() to not use annonymous properties
11 lines
187 B
Transact-SQL
11 lines
187 B
Transact-SQL
UPDATE
|
|
[dbo].[Organization]
|
|
SET
|
|
[MaxStorageGb] = ISNULL([MaxStorageGb], 1)
|
|
WHERE
|
|
[MaxStorageGb] IS NULL
|
|
AND [PlanType] NOT IN (
|
|
0, --Free
|
|
6 --Custom
|
|
)
|