update:删除多余迁移
This commit is contained in:
6
Api/Ewide.Core/applicationconfig.Development.json
Normal file
6
Api/Ewide.Core/applicationconfig.Development.json
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
{
|
||||||
|
"Cache": {
|
||||||
|
"CacheType": "RedisCache", // RedisCache
|
||||||
|
"RedisConnectionString": "127.0.0.1:6379,password=,defaultDatabase=2"
|
||||||
|
}
|
||||||
|
}
|
||||||
File diff suppressed because it is too large
Load Diff
@@ -1,25 +0,0 @@
|
|||||||
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: "父级区域代码");
|
|
||||||
}
|
|
||||||
}
|
|
||||||
}
|
|
||||||
Reference in New Issue
Block a user