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",