1
0
mirror of https://github.com/bitwarden/server.git synced 2025-07-01 16:12:49 -05:00

[AC-1360] Added EF scripts for MySQL, Postgres and Sqlite

This commit is contained in:
Rui Tome
2023-08-03 19:39:43 +01:00
parent 26283612cf
commit 4b47d25755
6 changed files with 21 additions and 0 deletions

View File

@ -0,0 +1,5 @@
-- 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;