This commit is contained in:
wyw 2026-03-17 20:12:33 +08:00
parent 98db6f0ca3
commit d47c7c8013

View File

@ -7,9 +7,9 @@ namespace APT.Data.Migrations.Migrations
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropForeignKey(
name: "FK_T_PF_PARAM_T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARY_T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARYID",
table: "T_PF_PARAM");
//migrationBuilder.DropForeignKey(
// name: "FK_T_PF_PARAM_T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARY_T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARYID",
// table: "T_PF_PARAM");
//migrationBuilder.DropForeignKey(
// name: "FK_T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARY_T_FM_ORGANIZATION_Nav_OrgID",
@ -319,13 +319,13 @@ namespace APT.Data.Migrations.Migrations
table: "T_PF_PARAM",
column: "T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARYID");
migrationBuilder.AddForeignKey(
name: "FK_T_PF_PARAM_T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARY_T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARYID",
table: "T_PF_PARAM",
column: "T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARYID",
principalTable: "T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARY",
principalColumn: "ID",
onDelete: ReferentialAction.Restrict);
//migrationBuilder.AddForeignKey(
// name: "FK_T_PF_PARAM_T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARY_T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARYID",
// table: "T_PF_PARAM",
// column: "T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARYID",
// principalTable: "T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARY",
// principalColumn: "ID",
// onDelete: ReferentialAction.Restrict);
//migrationBuilder.AddForeignKey(
// name: "FK_T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARY_T_FM_ORGANIZATION_Nav_OrgID",