Files
server/util/MySqlMigrations/HelperScripts/2023-08-03_00_PopulateResellerNames.sql

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

6 lines
246 B
MySQL
Raw Normal View History

-- 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 `Provider`
SET `Name` = `BusinessName`
WHERE `Name` IS NULL;