diff --git a/CarCenter/CarCenterDataBaseImplement/Migrations/20240429141128_Init.cs b/CarCenter/CarCenterDataBaseImplement/Migrations/20240429141128_Init.cs index 1610fac..22c7da7 100644 --- a/CarCenter/CarCenterDataBaseImplement/Migrations/20240429141128_Init.cs +++ b/CarCenter/CarCenterDataBaseImplement/Migrations/20240429141128_Init.cs @@ -200,13 +200,13 @@ namespace CarCenterDataBaseImplement.Migrations column: x => x.EmployeeId, principalTable: "Employees", principalColumn: "Id", - onDelete: ReferentialAction.NoAction); // Изменено на NoAction + onDelete: ReferentialAction.NoAction); table.ForeignKey( name: "FK_EmployeeSales_Sales_SaleId", column: x => x.SaleId, principalTable: "Sales", principalColumn: "Id", - onDelete: ReferentialAction.NoAction); // Изменено на NoAction + onDelete: ReferentialAction.NoAction); }); migrationBuilder.CreateTable(