mirror of
https://github.com/bitwarden/server.git
synced 2025-02-27 03:41:30 +01:00
15 lines
645 B
Plaintext
15 lines
645 B
Plaintext
|
START TRANSACTION;
|
||
|
|
||
|
ALTER TABLE "OrganizationSponsorship" DROP CONSTRAINT "FK_OrganizationSponsorship_Organization_SponsoringOrganization~";
|
||
|
|
||
|
ALTER TABLE "OrganizationSponsorship" ALTER COLUMN "SponsoringOrganizationId" DROP NOT NULL;
|
||
|
|
||
|
ALTER TABLE "Event" ADD "InstallationId" uuid NULL;
|
||
|
|
||
|
ALTER TABLE "OrganizationSponsorship" ADD CONSTRAINT "FK_OrganizationSponsorship_Organization_SponsoringOrganization~" FOREIGN KEY ("SponsoringOrganizationId") REFERENCES "Organization" ("Id") ON DELETE RESTRICT;
|
||
|
|
||
|
INSERT INTO "__EFMigrationsHistory" ("MigrationId", "ProductVersion")
|
||
|
VALUES ('20220420171153_AddInstallationIdToEvents', '5.0.12');
|
||
|
|
||
|
COMMIT;
|