1
0
mirror of https://github.com/bitwarden/server.git synced 2025-06-30 23:52:50 -05:00
Files
bitwarden/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;