diff --git a/util/Migrator/DbScripts/2025-11-14_00_PopulateMaxStorageGbIncreased.sql b/util/Migrator/DbScripts/2025-11-14_00_PopulateMaxStorageGbIncreased.sql new file mode 100644 index 0000000000..7d8484cc1a --- /dev/null +++ b/util/Migrator/DbScripts/2025-11-14_00_PopulateMaxStorageGbIncreased.sql @@ -0,0 +1,13 @@ +-- Populate MaxStorageGbIncreased for Users +-- Set MaxStorageGbIncreased = MaxStorageGb + 4 for all users with storage quota +UPDATE [dbo].[User] +SET [MaxStorageGbIncreased] = [MaxStorageGb] + 4 +WHERE [MaxStorageGb] IS NOT NULL; +GO + +-- Populate MaxStorageGbIncreased for Organizations +-- Set MaxStorageGbIncreased = MaxStorageGb + 4 for all organizations with storage quota +UPDATE [dbo].[Organization] +SET [MaxStorageGbIncreased] = [MaxStorageGb] + 4 +WHERE [MaxStorageGb] IS NOT NULL; +GO