1
0
mirror of https://github.com/bitwarden/server synced 2025-12-29 14:43:39 +00:00
Files
server/util/PostgresMigrations/Scripts/2023-08-03_00_PopulateResellerNames.sql

6 lines
246 B
SQL

-- 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;