1
0
mirror of https://github.com/bitwarden/server.git synced 2025-06-30 15:42:48 -05:00

Migration Fix (#1448)

* created stubs for missing ef provider methods

* fixed the initial postgres migration
This commit is contained in:
Addison Beck
2021-07-08 15:46:13 -04:00
committed by GitHub
parent b13dda2799
commit 4a828ad440
8 changed files with 318 additions and 344 deletions

View File

@ -107,6 +107,7 @@ CREATE TABLE "Provider" (
"BusinessTaxNumber" text NULL,
"BillingEmail" text NULL,
"Status" smallint NOT NULL,
"UseEvents" boolean NOT NULL,
"Enabled" boolean NOT NULL,
"CreationDate" timestamp without time zone NOT NULL,
"RevisionDate" timestamp without time zone NOT NULL,
@ -489,6 +490,8 @@ CREATE INDEX "IX_Transaction_UserId" ON "Transaction" ("UserId");
CREATE INDEX "IX_U2f_UserId" ON "U2f" ("UserId");
INSERT INTO "__EFMigrationsHistory" ("MigrationId", "ProductVersion")
VALUES ('20210617163014_Postgres_Init', '5.0.5');
VALUES ('20210708191531_Init', '5.0.5');
COMMIT;
COMMIT;