1
0
mirror of https://github.com/bitwarden/server.git synced 2025-06-30 23:52:50 -05:00

[AC-1360] Added migration script to populate existing Reseller Provider names with value from BusinessName

This commit is contained in:
Rui Tome
2023-08-03 12:01:21 +01:00
parent 678d85f57d
commit 118cd7ac62

View File

@ -0,0 +1,5 @@
-- Reseller Providers were being created with a NULL value in the [Name] column.
-- This script will populate them with the value from [BusinessName] which was already required.
UPDATE [dbo].[Provider]
SET [Name] = [BusinessName]
WHERE [Name] IS NULL