|
@@ -6,7 +6,7 @@ using Microsoft.EntityFrameworkCore.Migrations;
|
|
namespace DW5S.Repostory.Migrations
|
|
namespace DW5S.Repostory.Migrations
|
|
{
|
|
{
|
|
/// <inheritdoc />
|
|
/// <inheritdoc />
|
|
- public partial class Init : Migration
|
|
|
|
|
|
+ public partial class init : Migration
|
|
{
|
|
{
|
|
/// <inheritdoc />
|
|
/// <inheritdoc />
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
protected override void Up(MigrationBuilder migrationBuilder)
|
|
@@ -408,8 +408,7 @@ namespace DW5S.Repostory.Migrations
|
|
REALFILECREATETIME = table.Column<DateTime>(type: "TIMESTAMP(7)", nullable: false),
|
|
REALFILECREATETIME = table.Column<DateTime>(type: "TIMESTAMP(7)", nullable: false),
|
|
REALFILEUPDATETIME = table.Column<DateTime>(type: "TIMESTAMP(7)", nullable: false),
|
|
REALFILEUPDATETIME = table.Column<DateTime>(type: "TIMESTAMP(7)", nullable: false),
|
|
REALFILESIZE = table.Column<long>(type: "NUMBER(19)", nullable: false),
|
|
REALFILESIZE = table.Column<long>(type: "NUMBER(19)", nullable: false),
|
|
- RECTXINFOID = table.Column<long>(type: "NUMBER(19)", nullable: false),
|
|
|
|
- RECTXINFOID1 = table.Column<int>(type: "NUMBER(10)", nullable: true),
|
|
|
|
|
|
+ RECTXINFOID = table.Column<int>(type: "NUMBER(10)", nullable: false),
|
|
RECSTATIONNAME = table.Column<string>(type: "NVARCHAR2(2000)", nullable: true),
|
|
RECSTATIONNAME = table.Column<string>(type: "NVARCHAR2(2000)", nullable: true),
|
|
FILEERRORMSG = table.Column<string>(type: "NVARCHAR2(2000)", nullable: true),
|
|
FILEERRORMSG = table.Column<string>(type: "NVARCHAR2(2000)", nullable: true),
|
|
CREATETIME = table.Column<DateTime>(type: "TIMESTAMP(7)", nullable: false),
|
|
CREATETIME = table.Column<DateTime>(type: "TIMESTAMP(7)", nullable: false),
|
|
@@ -420,9 +419,10 @@ namespace DW5S.Repostory.Migrations
|
|
table.PrimaryKey("PK_ADRES", x => x.ID);
|
|
table.PrimaryKey("PK_ADRES", x => x.ID);
|
|
table.ForeignKey(
|
|
table.ForeignKey(
|
|
name: "FK_ADRES_TXINFO_RECTXINFOID",
|
|
name: "FK_ADRES_TXINFO_RECTXINFOID",
|
|
- column: x => x.RECTXINFOID1,
|
|
|
|
|
|
+ column: x => x.RECTXINFOID,
|
|
principalTable: "TXINFO",
|
|
principalTable: "TXINFO",
|
|
- principalColumn: "ID");
|
|
|
|
|
|
+ principalColumn: "ID",
|
|
|
|
+ onDelete: ReferentialAction.Cascade);
|
|
});
|
|
});
|
|
|
|
|
|
migrationBuilder.CreateTable(
|
|
migrationBuilder.CreateTable(
|
|
@@ -622,7 +622,7 @@ namespace DW5S.Repostory.Migrations
|
|
migrationBuilder.CreateIndex(
|
|
migrationBuilder.CreateIndex(
|
|
name: "IX_ADRES_RECTXINFOID",
|
|
name: "IX_ADRES_RECTXINFOID",
|
|
table: "ADRES",
|
|
table: "ADRES",
|
|
- column: "RECTXINFOID1");
|
|
|
|
|
|
+ column: "RECTXINFOID");
|
|
|
|
|
|
migrationBuilder.CreateIndex(
|
|
migrationBuilder.CreateIndex(
|
|
name: "IX_ADRES_UPDATETIME",
|
|
name: "IX_ADRES_UPDATETIME",
|