This commit is contained in:
wjn 2024-03-25 08:57:06 +08:00
parent 71558528c9
commit 94ec5a79d7
16 changed files with 0 additions and 691678 deletions

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,143 +0,0 @@
using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace APT.Data.Migrations.Migrations
{
public partial class wjn2024012602 : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropTable(
name: "T_OG_OGCONFIG");
migrationBuilder.DropTable(
name: "T_OG_PERSONNEL_TYPE_ENUM");
migrationBuilder.DropTable(
name: "T_OG_STANDARDIZATION_REVIEW_RESULT_ENUM");
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
name: "T_OG_OGCONFIG",
columns: table => new
{
ID = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
CREATER_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
CREATE_TIME = table.Column<DateTime>(type: "datetime2", nullable: true),
EMPLOYEE_OPINION_TIME = table.Column<DateTime>(type: "datetime2", nullable: true),
ENTITY_ORG_TPYE = table.Column<int>(type: "int", nullable: false),
EVENT_GET_TIME = table.Column<DateTime>(type: "datetime2", nullable: true),
EVENT_GET_TIME_1 = table.Column<DateTime>(type: "datetime2", nullable: true),
FLOW_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
FLOW_SEND_STATUS = table.Column<int>(type: "int", nullable: false),
FLOW_STATUS = table.Column<int>(type: "int", nullable: false),
FORM_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
IS_DELETED = table.Column<bool>(type: "bit", nullable: false),
MODIFIER_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
MODIFY_TIME = table.Column<DateTime>(type: "datetime2", nullable: true),
ORG_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
REPORT_SUM_TIME = table.Column<DateTime>(type: "datetime2", nullable: true),
SAFE_PDT_PERSONAL_SIGNED_TRIGGER_TIME = table.Column<DateTime>(type: "datetime2", nullable: true)
},
constraints: table =>
{
table.PrimaryKey("PK_T_OG_OGCONFIG", x => x.ID);
table.ForeignKey(
name: "FK_T_OG_OGCONFIG_T_FM_ORGANIZATION_ORG_ID",
column: x => x.ORG_ID,
principalTable: "T_FM_ORGANIZATION",
principalColumn: "ID",
onDelete: ReferentialAction.Restrict);
});
migrationBuilder.CreateTable(
name: "T_OG_PERSONNEL_TYPE_ENUM",
columns: table => new
{
ID = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
CREATER_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
CREATE_TIME = table.Column<DateTime>(type: "datetime2", nullable: true),
ENTITY_ORG_TPYE = table.Column<int>(type: "int", nullable: false),
FLOW_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
FLOW_SEND_STATUS = table.Column<int>(type: "int", nullable: false),
FLOW_STATUS = table.Column<int>(type: "int", nullable: false),
FORM_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
IS_DELETED = table.Column<bool>(type: "bit", nullable: false),
MODIFIER_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
MODIFY_TIME = table.Column<DateTime>(type: "datetime2", nullable: true),
NAME = table.Column<string>(type: "nvarchar(500)", maxLength: 500, nullable: true),
ORG_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: false)
},
constraints: table =>
{
table.PrimaryKey("PK_T_OG_PERSONNEL_TYPE_ENUM", x => x.ID);
table.ForeignKey(
name: "FK_T_OG_PERSONNEL_TYPE_ENUM_T_FM_ORGANIZATION_ORG_ID",
column: x => x.ORG_ID,
principalTable: "T_FM_ORGANIZATION",
principalColumn: "ID",
onDelete: ReferentialAction.Restrict);
});
migrationBuilder.CreateTable(
name: "T_OG_STANDARDIZATION_REVIEW_RESULT_ENUM",
columns: table => new
{
ID = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
CREATER_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
CREATE_TIME = table.Column<DateTime>(type: "datetime2", nullable: true),
ENTITY_ORG_TPYE = table.Column<int>(type: "int", nullable: false),
FLOW_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
FLOW_SEND_STATUS = table.Column<int>(type: "int", nullable: false),
FLOW_STATUS = table.Column<int>(type: "int", nullable: false),
FORM_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
IS_DELETED = table.Column<bool>(type: "bit", nullable: false),
MODIFIER_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
MODIFY_TIME = table.Column<DateTime>(type: "datetime2", nullable: true),
NAME = table.Column<string>(type: "nvarchar(50)", maxLength: 50, nullable: true),
ORG_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: false)
},
constraints: table =>
{
table.PrimaryKey("PK_T_OG_STANDARDIZATION_REVIEW_RESULT_ENUM", x => x.ID);
table.ForeignKey(
name: "FK_T_OG_STANDARDIZATION_REVIEW_RESULT_ENUM_T_FM_ORGANIZATION_ORG_ID",
column: x => x.ORG_ID,
principalTable: "T_FM_ORGANIZATION",
principalColumn: "ID",
onDelete: ReferentialAction.Restrict);
});
migrationBuilder.CreateIndex(
name: "IX_T_OG_OGCONFIG_ORG_ID",
table: "T_OG_OGCONFIG",
column: "ORG_ID");
migrationBuilder.CreateIndex(
name: "IX_T_OG_PERSONNEL_TYPE_ENUM_NAME",
table: "T_OG_PERSONNEL_TYPE_ENUM",
column: "NAME",
unique: true,
filter: "[NAME] IS NOT NULL");
migrationBuilder.CreateIndex(
name: "IX_T_OG_PERSONNEL_TYPE_ENUM_ORG_ID",
table: "T_OG_PERSONNEL_TYPE_ENUM",
column: "ORG_ID");
migrationBuilder.CreateIndex(
name: "IX_T_OG_STANDARDIZATION_REVIEW_RESULT_ENUM_NAME",
table: "T_OG_STANDARDIZATION_REVIEW_RESULT_ENUM",
column: "NAME",
unique: true,
filter: "[NAME] IS NOT NULL");
migrationBuilder.CreateIndex(
name: "IX_T_OG_STANDARDIZATION_REVIEW_RESULT_ENUM_ORG_ID",
table: "T_OG_STANDARDIZATION_REVIEW_RESULT_ENUM",
column: "ORG_ID");
}
}
}

File diff suppressed because it is too large Load Diff

View File

@ -1,53 +0,0 @@
using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace APT.Data.Migrations.Migrations
{
public partial class wjn2024012901 : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropTable(
name: "T_OP_ALLUSER");
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.CreateTable(
name: "T_OP_ALLUSER",
columns: table => new
{
ID = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
CODE = table.Column<string>(type: "nvarchar(30)", maxLength: 30, nullable: true),
CREATER_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
CREATE_TIME = table.Column<DateTime>(type: "datetime2", nullable: true),
ENTITY_ORG_TPYE = table.Column<int>(type: "int", nullable: false),
FLOW_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
FLOW_SEND_STATUS = table.Column<int>(type: "int", nullable: false),
FLOW_STATUS = table.Column<int>(type: "int", nullable: false),
FORM_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
IS_DELETED = table.Column<bool>(type: "bit", nullable: false),
MODIFIER_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: true),
MODIFY_TIME = table.Column<DateTime>(type: "datetime2", nullable: true),
ORG_ID = table.Column<Guid>(type: "uniqueidentifier", nullable: false),
PHONE = table.Column<string>(type: "nvarchar(30)", maxLength: 30, nullable: true),
TENANT = table.Column<string>(type: "nvarchar(500)", maxLength: 500, nullable: true)
},
constraints: table =>
{
table.PrimaryKey("PK_T_OP_ALLUSER", x => x.ID);
table.ForeignKey(
name: "FK_T_OP_ALLUSER_T_FM_ORGANIZATION_ORG_ID",
column: x => x.ORG_ID,
principalTable: "T_FM_ORGANIZATION",
principalColumn: "ID",
onDelete: ReferentialAction.Restrict);
});
migrationBuilder.CreateIndex(
name: "IX_T_OP_ALLUSER_ORG_ID",
table: "T_OP_ALLUSER",
column: "ORG_ID");
}
}
}

File diff suppressed because it is too large Load Diff

View File

@ -1,35 +0,0 @@
using Microsoft.EntityFrameworkCore.Migrations;
namespace APT.Data.Migrations.Migrations
{
public partial class wjn2024012902 : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "MineType",
table: "T_PF_MENU");
migrationBuilder.DropColumn(
name: "MineType",
table: "T_FM_USER");
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<string>(
name: "MineType",
table: "T_PF_MENU",
type: "nvarchar(50)",
maxLength: 50,
nullable: true);
migrationBuilder.AddColumn<string>(
name: "MineType",
table: "T_FM_USER",
type: "nvarchar(50)",
maxLength: 50,
nullable: true);
}
}
}

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

View File

@ -1,74 +0,0 @@
using System;
using Microsoft.EntityFrameworkCore.Migrations;
namespace APT.Data.Migrations.Migrations
{
public partial class wyw2024030501 : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<bool>(
name: "ISNEEDTOUP",
table: "T_BS_SAFE_CHECK",
type: "bit",
nullable: true);
migrationBuilder.AddColumn<Guid>(
name: "CHECK_TYPE_ID",
table: "T_BS_RISK_SUBMIT_CONTENT",
type: "uniqueidentifier",
nullable: true);
migrationBuilder.AddColumn<Guid>(
name: "CHECK_TYPE_LEVEL_ID",
table: "T_BS_RISK_SUBMIT_CONTENT",
type: "uniqueidentifier",
nullable: true);
migrationBuilder.AddColumn<string>(
name: "DESCRIBE",
table: "T_BS_RISK_SUBMIT_CONTENT",
type: "nvarchar(max)",
nullable: true);
migrationBuilder.AddColumn<int>(
name: "SUBMIT_STATUS",
table: "T_BS_RISK_SUBMIT_CONTENT",
type: "int",
nullable: true);
migrationBuilder.AddColumn<DateTime>(
name: "LastDateSystem",
table: "T_BS_CHECK_QUESTION",
type: "datetime2",
nullable: true);
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "ISNEEDTOUP",
table: "T_BS_SAFE_CHECK");
migrationBuilder.DropColumn(
name: "CHECK_TYPE_ID",
table: "T_BS_RISK_SUBMIT_CONTENT");
migrationBuilder.DropColumn(
name: "CHECK_TYPE_LEVEL_ID",
table: "T_BS_RISK_SUBMIT_CONTENT");
migrationBuilder.DropColumn(
name: "DESCRIBE",
table: "T_BS_RISK_SUBMIT_CONTENT");
migrationBuilder.DropColumn(
name: "SUBMIT_STATUS",
table: "T_BS_RISK_SUBMIT_CONTENT");
migrationBuilder.DropColumn(
name: "LastDateSystem",
table: "T_BS_CHECK_QUESTION");
}
}
}