diff --git a/APT.Data.Migrations/Migrations/20260121093039_wyw2026012101.cs b/APT.Data.Migrations/Migrations/20260121093039_wyw2026012101.cs index 3d113c7..bff4db6 100644 --- a/APT.Data.Migrations/Migrations/20260121093039_wyw2026012101.cs +++ b/APT.Data.Migrations/Migrations/20260121093039_wyw2026012101.cs @@ -48,12 +48,12 @@ namespace APT.Data.Migrations.Migrations constraints: table => { table.PrimaryKey("PK_T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARY", x => x.ID); - table.ForeignKey( - name: "FK_T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARY_T_FM_ORGANIZATION_Nav_OrgID", - column: x => x.Nav_OrgID, - principalTable: "T_FM_ORGANIZATION", - principalColumn: "ID", - onDelete: ReferentialAction.Restrict); + //table.ForeignKey( + // name: "FK_T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARY_T_FM_ORGANIZATION_Nav_OrgID", + // column: x => x.Nav_OrgID, + // principalTable: "T_FM_ORGANIZATION", + // principalColumn: "ID", + // onDelete: ReferentialAction.Restrict); table.ForeignKey( name: "FK_T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARY_T_SE_COURSEWEARLIBRARY_COURSEWEARLIBRARY_ID", column: x => x.COURSEWEARLIBRARY_ID, @@ -83,10 +83,10 @@ namespace APT.Data.Migrations.Migrations table: "T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARY", column: "NOTIFY_ID"); - migrationBuilder.CreateIndex( - name: "IX_T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARY_Nav_OrgID", - table: "T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARY", - column: "Nav_OrgID"); + //migrationBuilder.CreateIndex( + // name: "IX_T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARY_Nav_OrgID", + // table: "T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARY", + // column: "Nav_OrgID"); migrationBuilder.AddForeignKey( name: "FK_T_PF_PARAM_T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARY_T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARYID", diff --git a/APT.Data.Migrations/Migrations/20260202064225_wyw2026020201.cs b/APT.Data.Migrations/Migrations/20260202064225_wyw2026020201.cs index 27606f8..a1c2e04 100644 --- a/APT.Data.Migrations/Migrations/20260202064225_wyw2026020201.cs +++ b/APT.Data.Migrations/Migrations/20260202064225_wyw2026020201.cs @@ -11,29 +11,29 @@ namespace APT.Data.Migrations.Migrations 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", - table: "T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARY"); + //migrationBuilder.DropForeignKey( + // name: "FK_T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARY_T_FM_ORGANIZATION_Nav_OrgID", + // table: "T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARY"); - migrationBuilder.DropForeignKey( - name: "FK_T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARY_T_SE_COURSEWEARLIBRARY_Nav_CourID", - table: "T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARY"); + //migrationBuilder.DropForeignKey( + // name: "FK_T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARY_T_SE_COURSEWEARLIBRARY_Nav_CourID", + // table: "T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARY"); - migrationBuilder.DropForeignKey( - name: "FK_T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARY_T_SE_TRAIN_NOTIFY_Nav_NotifyID", - table: "T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARY"); + //migrationBuilder.DropForeignKey( + // name: "FK_T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARY_T_SE_TRAIN_NOTIFY_Nav_NotifyID", + // table: "T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARY"); - migrationBuilder.DropIndex( - name: "IX_T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARY_Nav_CourID", - table: "T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARY"); + //migrationBuilder.DropIndex( + // name: "IX_T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARY_Nav_CourID", + // table: "T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARY"); - migrationBuilder.DropIndex( - name: "IX_T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARY_Nav_NotifyID", - table: "T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARY"); + //migrationBuilder.DropIndex( + // name: "IX_T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARY_Nav_NotifyID", + // table: "T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARY"); - migrationBuilder.DropIndex( - name: "IX_T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARY_Nav_OrgID", - table: "T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARY"); + //migrationBuilder.DropIndex( + // name: "IX_T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARY_Nav_OrgID", + // table: "T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARY"); migrationBuilder.DropIndex( name: "IX_T_PF_PARAM_T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARYID", @@ -299,20 +299,20 @@ namespace APT.Data.Migrations.Migrations type: "uniqueidentifier", nullable: true); - migrationBuilder.CreateIndex( - name: "IX_T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARY_Nav_CourID", - table: "T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARY", - column: "Nav_CourID"); + //migrationBuilder.CreateIndex( + // name: "IX_T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARY_Nav_CourID", + // table: "T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARY", + // column: "Nav_CourID"); - migrationBuilder.CreateIndex( - name: "IX_T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARY_Nav_NotifyID", - table: "T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARY", - column: "Nav_NotifyID"); + //migrationBuilder.CreateIndex( + // name: "IX_T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARY_Nav_NotifyID", + // table: "T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARY", + // column: "Nav_NotifyID"); - migrationBuilder.CreateIndex( - name: "IX_T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARY_Nav_OrgID", - table: "T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARY", - column: "Nav_OrgID"); + //migrationBuilder.CreateIndex( + // name: "IX_T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARY_Nav_OrgID", + // table: "T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARY", + // column: "Nav_OrgID"); migrationBuilder.CreateIndex( name: "IX_T_PF_PARAM_T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARYID", @@ -327,29 +327,29 @@ namespace APT.Data.Migrations.Migrations principalColumn: "ID", onDelete: ReferentialAction.Restrict); - migrationBuilder.AddForeignKey( - name: "FK_T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARY_T_FM_ORGANIZATION_Nav_OrgID", - table: "T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARY", - column: "Nav_OrgID", - principalTable: "T_FM_ORGANIZATION", - principalColumn: "ID", - onDelete: ReferentialAction.Restrict); + //migrationBuilder.AddForeignKey( + // name: "FK_T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARY_T_FM_ORGANIZATION_Nav_OrgID", + // table: "T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARY", + // column: "Nav_OrgID", + // principalTable: "T_FM_ORGANIZATION", + // principalColumn: "ID", + // onDelete: ReferentialAction.Restrict); - migrationBuilder.AddForeignKey( - name: "FK_T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARY_T_SE_COURSEWEARLIBRARY_Nav_CourID", - table: "T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARY", - column: "Nav_CourID", - principalTable: "T_SE_COURSEWEARLIBRARY", - principalColumn: "ID", - onDelete: ReferentialAction.Restrict); + //migrationBuilder.AddForeignKey( + // name: "FK_T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARY_T_SE_COURSEWEARLIBRARY_Nav_CourID", + // table: "T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARY", + // column: "Nav_CourID", + // principalTable: "T_SE_COURSEWEARLIBRARY", + // principalColumn: "ID", + // onDelete: ReferentialAction.Restrict); - migrationBuilder.AddForeignKey( - name: "FK_T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARY_T_SE_TRAIN_NOTIFY_Nav_NotifyID", - table: "T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARY", - column: "Nav_NotifyID", - principalTable: "T_SE_TRAIN_NOTIFY", - principalColumn: "ID", - onDelete: ReferentialAction.Restrict); + //migrationBuilder.AddForeignKey( + // name: "FK_T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARY_T_SE_TRAIN_NOTIFY_Nav_NotifyID", + // table: "T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARY", + // column: "Nav_NotifyID", + // principalTable: "T_SE_TRAIN_NOTIFY", + // principalColumn: "ID", + // onDelete: ReferentialAction.Restrict); } } }