1
0
mirror of https://github.com/bitwarden/server.git synced 2025-03-12 13:29:14 +01:00
bitwarden-server/util/SqliteMigrations/HelperScripts/2023-08-03_00_PopulateResellerNames.sql
2023-08-03 21:14:38 +01:00

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;