123
This commit is contained in:
parent
5cdff2aaf1
commit
cad6fc81d9
@ -48,12 +48,12 @@ namespace APT.Data.Migrations.Migrations
|
|||||||
constraints: table =>
|
constraints: table =>
|
||||||
{
|
{
|
||||||
table.PrimaryKey("PK_T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARY", x => x.ID);
|
table.PrimaryKey("PK_T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARY", x => x.ID);
|
||||||
table.ForeignKey(
|
//table.ForeignKey(
|
||||||
name: "FK_T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARY_T_FM_ORGANIZATION_Nav_OrgID",
|
// name: "FK_T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARY_T_FM_ORGANIZATION_Nav_OrgID",
|
||||||
column: x => x.Nav_OrgID,
|
// column: x => x.Nav_OrgID,
|
||||||
principalTable: "T_FM_ORGANIZATION",
|
// principalTable: "T_FM_ORGANIZATION",
|
||||||
principalColumn: "ID",
|
// principalColumn: "ID",
|
||||||
onDelete: ReferentialAction.Restrict);
|
// onDelete: ReferentialAction.Restrict);
|
||||||
table.ForeignKey(
|
table.ForeignKey(
|
||||||
name: "FK_T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARY_T_SE_COURSEWEARLIBRARY_COURSEWEARLIBRARY_ID",
|
name: "FK_T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARY_T_SE_COURSEWEARLIBRARY_COURSEWEARLIBRARY_ID",
|
||||||
column: x => x.COURSEWEARLIBRARY_ID,
|
column: x => x.COURSEWEARLIBRARY_ID,
|
||||||
@ -83,10 +83,10 @@ namespace APT.Data.Migrations.Migrations
|
|||||||
table: "T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARY",
|
table: "T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARY",
|
||||||
column: "NOTIFY_ID");
|
column: "NOTIFY_ID");
|
||||||
|
|
||||||
migrationBuilder.CreateIndex(
|
//migrationBuilder.CreateIndex(
|
||||||
name: "IX_T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARY_Nav_OrgID",
|
// name: "IX_T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARY_Nav_OrgID",
|
||||||
table: "T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARY",
|
// table: "T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARY",
|
||||||
column: "Nav_OrgID");
|
// column: "Nav_OrgID");
|
||||||
|
|
||||||
migrationBuilder.AddForeignKey(
|
migrationBuilder.AddForeignKey(
|
||||||
name: "FK_T_PF_PARAM_T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARY_T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARYID",
|
name: "FK_T_PF_PARAM_T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARY_T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARYID",
|
||||||
|
|||||||
@ -11,29 +11,29 @@ namespace APT.Data.Migrations.Migrations
|
|||||||
name: "FK_T_PF_PARAM_T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARY_T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARYID",
|
name: "FK_T_PF_PARAM_T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARY_T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARYID",
|
||||||
table: "T_PF_PARAM");
|
table: "T_PF_PARAM");
|
||||||
|
|
||||||
migrationBuilder.DropForeignKey(
|
//migrationBuilder.DropForeignKey(
|
||||||
name: "FK_T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARY_T_FM_ORGANIZATION_Nav_OrgID",
|
// name: "FK_T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARY_T_FM_ORGANIZATION_Nav_OrgID",
|
||||||
table: "T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARY");
|
// table: "T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARY");
|
||||||
|
|
||||||
migrationBuilder.DropForeignKey(
|
//migrationBuilder.DropForeignKey(
|
||||||
name: "FK_T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARY_T_SE_COURSEWEARLIBRARY_Nav_CourID",
|
// name: "FK_T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARY_T_SE_COURSEWEARLIBRARY_Nav_CourID",
|
||||||
table: "T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARY");
|
// table: "T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARY");
|
||||||
|
|
||||||
migrationBuilder.DropForeignKey(
|
//migrationBuilder.DropForeignKey(
|
||||||
name: "FK_T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARY_T_SE_TRAIN_NOTIFY_Nav_NotifyID",
|
// name: "FK_T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARY_T_SE_TRAIN_NOTIFY_Nav_NotifyID",
|
||||||
table: "T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARY");
|
// table: "T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARY");
|
||||||
|
|
||||||
migrationBuilder.DropIndex(
|
//migrationBuilder.DropIndex(
|
||||||
name: "IX_T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARY_Nav_CourID",
|
// name: "IX_T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARY_Nav_CourID",
|
||||||
table: "T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARY");
|
// table: "T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARY");
|
||||||
|
|
||||||
migrationBuilder.DropIndex(
|
//migrationBuilder.DropIndex(
|
||||||
name: "IX_T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARY_Nav_NotifyID",
|
// name: "IX_T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARY_Nav_NotifyID",
|
||||||
table: "T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARY");
|
// table: "T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARY");
|
||||||
|
|
||||||
migrationBuilder.DropIndex(
|
//migrationBuilder.DropIndex(
|
||||||
name: "IX_T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARY_Nav_OrgID",
|
// name: "IX_T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARY_Nav_OrgID",
|
||||||
table: "T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARY");
|
// table: "T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARY");
|
||||||
|
|
||||||
migrationBuilder.DropIndex(
|
migrationBuilder.DropIndex(
|
||||||
name: "IX_T_PF_PARAM_T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARYID",
|
name: "IX_T_PF_PARAM_T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARYID",
|
||||||
@ -299,20 +299,20 @@ namespace APT.Data.Migrations.Migrations
|
|||||||
type: "uniqueidentifier",
|
type: "uniqueidentifier",
|
||||||
nullable: true);
|
nullable: true);
|
||||||
|
|
||||||
migrationBuilder.CreateIndex(
|
//migrationBuilder.CreateIndex(
|
||||||
name: "IX_T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARY_Nav_CourID",
|
// name: "IX_T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARY_Nav_CourID",
|
||||||
table: "T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARY",
|
// table: "T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARY",
|
||||||
column: "Nav_CourID");
|
// column: "Nav_CourID");
|
||||||
|
|
||||||
migrationBuilder.CreateIndex(
|
//migrationBuilder.CreateIndex(
|
||||||
name: "IX_T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARY_Nav_NotifyID",
|
// name: "IX_T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARY_Nav_NotifyID",
|
||||||
table: "T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARY",
|
// table: "T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARY",
|
||||||
column: "Nav_NotifyID");
|
// column: "Nav_NotifyID");
|
||||||
|
|
||||||
migrationBuilder.CreateIndex(
|
//migrationBuilder.CreateIndex(
|
||||||
name: "IX_T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARY_Nav_OrgID",
|
// name: "IX_T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARY_Nav_OrgID",
|
||||||
table: "T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARY",
|
// table: "T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARY",
|
||||||
column: "Nav_OrgID");
|
// column: "Nav_OrgID");
|
||||||
|
|
||||||
migrationBuilder.CreateIndex(
|
migrationBuilder.CreateIndex(
|
||||||
name: "IX_T_PF_PARAM_T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARYID",
|
name: "IX_T_PF_PARAM_T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARYID",
|
||||||
@ -327,29 +327,29 @@ namespace APT.Data.Migrations.Migrations
|
|||||||
principalColumn: "ID",
|
principalColumn: "ID",
|
||||||
onDelete: ReferentialAction.Restrict);
|
onDelete: ReferentialAction.Restrict);
|
||||||
|
|
||||||
migrationBuilder.AddForeignKey(
|
//migrationBuilder.AddForeignKey(
|
||||||
name: "FK_T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARY_T_FM_ORGANIZATION_Nav_OrgID",
|
// name: "FK_T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARY_T_FM_ORGANIZATION_Nav_OrgID",
|
||||||
table: "T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARY",
|
// table: "T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARY",
|
||||||
column: "Nav_OrgID",
|
// column: "Nav_OrgID",
|
||||||
principalTable: "T_FM_ORGANIZATION",
|
// principalTable: "T_FM_ORGANIZATION",
|
||||||
principalColumn: "ID",
|
// principalColumn: "ID",
|
||||||
onDelete: ReferentialAction.Restrict);
|
// onDelete: ReferentialAction.Restrict);
|
||||||
|
|
||||||
migrationBuilder.AddForeignKey(
|
//migrationBuilder.AddForeignKey(
|
||||||
name: "FK_T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARY_T_SE_COURSEWEARLIBRARY_Nav_CourID",
|
// name: "FK_T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARY_T_SE_COURSEWEARLIBRARY_Nav_CourID",
|
||||||
table: "T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARY",
|
// table: "T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARY",
|
||||||
column: "Nav_CourID",
|
// column: "Nav_CourID",
|
||||||
principalTable: "T_SE_COURSEWEARLIBRARY",
|
// principalTable: "T_SE_COURSEWEARLIBRARY",
|
||||||
principalColumn: "ID",
|
// principalColumn: "ID",
|
||||||
onDelete: ReferentialAction.Restrict);
|
// onDelete: ReferentialAction.Restrict);
|
||||||
|
|
||||||
migrationBuilder.AddForeignKey(
|
//migrationBuilder.AddForeignKey(
|
||||||
name: "FK_T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARY_T_SE_TRAIN_NOTIFY_Nav_NotifyID",
|
// name: "FK_T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARY_T_SE_TRAIN_NOTIFY_Nav_NotifyID",
|
||||||
table: "T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARY",
|
// table: "T_SE_TRAIN_NOTIFY_COURSEWEARLIBRARY",
|
||||||
column: "Nav_NotifyID",
|
// column: "Nav_NotifyID",
|
||||||
principalTable: "T_SE_TRAIN_NOTIFY",
|
// principalTable: "T_SE_TRAIN_NOTIFY",
|
||||||
principalColumn: "ID",
|
// principalColumn: "ID",
|
||||||
onDelete: ReferentialAction.Restrict);
|
// onDelete: ReferentialAction.Restrict);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user