mirror of
https://github.com/bitwarden/server.git
synced 2025-06-30 15:42:48 -05:00
[AC-2820] Updated org edit form scripts to dynamically update expected values (#4439)
* 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
This commit is contained in:
@ -0,0 +1,10 @@
|
||||
UPDATE
|
||||
[dbo].[Organization]
|
||||
SET
|
||||
[MaxStorageGb] = ISNULL([MaxStorageGb], 1)
|
||||
WHERE
|
||||
[MaxStorageGb] IS NULL
|
||||
AND [PlanType] NOT IN (
|
||||
0, --Free
|
||||
6 --Custom
|
||||
)
|
Reference in New Issue
Block a user