update 更改操作日志是否成功的类型为bool
This commit is contained in:
6725
Api/Ewide.Database.Migrations/Migrations/20210426060021_Init20210426a.Designer.cs
generated
Normal file
6725
Api/Ewide.Database.Migrations/Migrations/20210426060021_Init20210426a.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load Diff
@@ -0,0 +1,35 @@
|
||||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
namespace Ewide.Database.Migrations.Migrations
|
||||
{
|
||||
public partial class Init20210426a : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AlterColumn<bool>(
|
||||
name: "Success",
|
||||
table: "sys_log_op",
|
||||
type: "tinyint(1)",
|
||||
nullable: true,
|
||||
comment: "是否执行成功",
|
||||
oldClrType: typeof(string),
|
||||
oldType: "longtext CHARACTER SET utf8mb4",
|
||||
oldNullable: true,
|
||||
oldComment: "是否执行成功");
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.AlterColumn<string>(
|
||||
name: "Success",
|
||||
table: "sys_log_op",
|
||||
type: "longtext CHARACTER SET utf8mb4",
|
||||
nullable: true,
|
||||
comment: "是否执行成功",
|
||||
oldClrType: typeof(bool),
|
||||
oldType: "tinyint(1)",
|
||||
oldNullable: true,
|
||||
oldComment: "是否执行成功");
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -2681,8 +2681,8 @@ namespace Ewide.Database.Migrations.Migrations
|
||||
.HasColumnType("longtext CHARACTER SET utf8mb4")
|
||||
.HasComment("返回结果");
|
||||
|
||||
b.Property<string>("Success")
|
||||
.HasColumnType("longtext CHARACTER SET utf8mb4")
|
||||
b.Property<bool?>("Success")
|
||||
.HasColumnType("tinyint(1)")
|
||||
.HasComment("是否执行成功");
|
||||
|
||||
b.Property<string>("Url")
|
||||
|
||||
Reference in New Issue
Block a user