This commit is contained in:
mmrbnjd
2025-07-24 23:18:11 +03:30
parent 4977be215c
commit d4c4bb2ffd
20 changed files with 2285 additions and 65 deletions

View File

@@ -0,0 +1,41 @@
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace Hushian.Persistence.Migrations
{
/// <inheritdoc />
public partial class changetbeg : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropForeignKey(
name: "FK_EG_Expers_ExperID",
table: "EG");
migrationBuilder.AddForeignKey(
name: "FK_EG_Expers_ExperID",
table: "EG",
column: "ExperID",
principalTable: "Expers",
principalColumn: "ID");
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropForeignKey(
name: "FK_EG_Expers_ExperID",
table: "EG");
migrationBuilder.AddForeignKey(
name: "FK_EG_Expers_ExperID",
table: "EG",
column: "ExperID",
principalTable: "Expers",
principalColumn: "ID",
onDelete: ReferentialAction.Cascade);
}
}
}