0
0

Update sql script
All checks were successful
Test API / build (push) Successful in 2m48s

This commit is contained in:
Serghei Cebotari 2024-01-18 22:35:09 +03:00
parent 3580e84f53
commit 2a759b8d39

View File

@ -14,12 +14,14 @@ CREATE TABLE "Products" (
"ProductLines" text[] NOT NULL, "ProductLines" text[] NOT NULL,
"IsOnWarehouse" boolean NOT NULL, "IsOnWarehouse" boolean NOT NULL,
"ProductMeasure" integer NOT NULL, "ProductMeasure" integer NOT NULL,
"DeliveryMakeUp" double precision NULL, "DeliveryMakeUp" double precision,
"Price" numeric NOT NULL, "Price" numeric NOT NULL,
CONSTRAINT "PK_Products" PRIMARY KEY ("Id") CONSTRAINT "PK_Products" PRIMARY KEY ("Id")
); );
CREATE INDEX "IX_Products_Name" ON "Products" USING GIN (to_tsvector('russian', "Name"));
INSERT INTO "__EFMigrationsHistory" ("MigrationId", "ProductVersion") INSERT INTO "__EFMigrationsHistory" ("MigrationId", "ProductVersion")
VALUES ('20230511043408_Init', '7.0.5'); VALUES ('20240117210635_Init', '8.0.0');
COMMIT; COMMIT;