Исправлены миграции
This commit is contained in:
parent
75d7be454c
commit
ad971e8dde
@ -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(
|
||||
|
Loading…
Reference in New Issue
Block a user