mirror of
https://github.com/bitwarden/server.git
synced 2025-07-02 00:22:50 -05:00
[AC-1360] Added EF scripts for MySQL, Postgres and Sqlite
This commit is contained in:
@ -24,5 +24,6 @@
|
||||
<EmbeddedResource Include="HelperScripts\2021-10-21_00_SetMaxAutoscaleSeatCount.psql" />
|
||||
<EmbeddedResource Include="HelperScripts\2022-03-01_00_Up_MigrateOrganizationApiKeys.psql" />
|
||||
<EmbeddedResource Include="HelperScripts\2022-03-01_00_Down_MigrateOrganizationApiKeys.psql" />
|
||||
<EmbeddedResource Include="Scripts\2023-08-03_00_PopulateResellerNames.sql" />
|
||||
</ItemGroup>
|
||||
</Project>
|
||||
|
@ -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;
|
Reference in New Issue
Block a user