This commit is contained in:
2021-04-28 14:26:21 +08:00
25 changed files with 7456 additions and 33 deletions

File diff suppressed because it is too large Load Diff

View File

@@ -0,0 +1,25 @@
using Microsoft.EntityFrameworkCore.Migrations;
namespace Ewide.Database.Migrations.Migrations
{
public partial class removeAreaNumberParent : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "ParentCode",
table: "ewide_area_number");
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn<string>(
name: "ParentCode",
table: "ewide_area_number",
type: "varchar(10) CHARACTER SET utf8mb4",
maxLength: 10,
nullable: true,
comment: "父级区域代码");
}
}
}

View File

@@ -102,11 +102,6 @@ namespace Ewide.Database.Migrations.Migrations
.HasColumnType("longtext CHARACTER SET utf8mb4")
.HasComment("备注");
b.Property<string>("ParentCode")
.HasMaxLength(10)
.HasColumnType("varchar(10) CHARACTER SET utf8mb4")
.HasComment("父级区域代码");
b.Property<string>("ShowCode")
.HasMaxLength(10)
.HasColumnType("varchar(10) CHARACTER SET utf8mb4")