From d47c7c8013d4450955d069e3dd4068f22e204857 Mon Sep 17 00:00:00 2001 From: wyw <571921741@qq.com> Date: Tue, 17 Mar 2026 20:12:33 +0800 Subject: [PATCH] 23 --- .../20260202064225_wyw2026020201.cs | 20 +++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/APT.Data.Migrations/Migrations/20260202064225_wyw2026020201.cs b/APT.Data.Migrations/Migrations/20260202064225_wyw2026020201.cs index a1c2e04..853e802 100644 --- a/APT.Data.Migrations/Migrations/20260202064225_wyw2026020201.cs +++ b/APT.Data.Migrations/Migrations/20260202064225_wyw2026020201.cs @@ -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",