This commit is contained in:
parent
3580e84f53
commit
2a759b8d39
@ -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;
|
Loading…
Reference in New Issue
Block a user