mirror of
https://github.com/bitwarden/server.git
synced 2025-06-30 15:42:48 -05:00
[AC-1360] Add logic to automatically populate the reseller name field (#3149)
* [AC-1360] Added Name field to view for creating a Reseller Provider * [AC-1360] Added migration script to populate existing Reseller Provider names with value from BusinessName * [AC-1360] Added fallback when retrieving display attribute name value * [AC-1360] Added EF scripts for MySQL, Postgres and Sqlite * [AC-1360] Added EF migration scripts * [AC-1360] Changed down migrator methods to empty * Revert "[AC-1360] Changed down migrator methods to empty" This reverts commit0e72c14d2f
. * Revert "[AC-1360] Added EF migration scripts" This reverts commita4ea5c4dca
. * Revert "[AC-1360] Added EF scripts for MySQL, Postgres and Sqlite" This reverts commit4b47d25755
. * [AC-1360] Moved data migration file do data migration folder
This commit is contained in:
@ -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
|
Reference in New Issue
Block a user