1
0
mirror of https://github.com/bitwarden/server.git synced 2025-06-30 15:42:48 -05:00
Files
bitwarden/util/PostgresMigrations/HelperScripts/2023-08-03_00_PopulateResellerNames.psql
2023-08-03 21:14:38 +01:00

6 lines
246 B
Plaintext

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