using System;
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace IRaCIS.Core.Infra.EFCore.Migrations
{
///
public partial class TaskEvaluateProgress : Migration
{
///
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AddColumn(
name: "EvaluateProgressEnum",
table: "VisitTask",
type: "int",
nullable: false,
defaultValue: 0);
migrationBuilder.CreateTable(
name: "TaskEvaluateProgress",
columns: table => new
{
Id = table.Column(type: "uniqueidentifier", nullable: false),
VisitTaskId = table.Column(type: "uniqueidentifier", nullable: false),
EvaluateProgressEnum = table.Column(type: "int", nullable: false),
CreateUserId = table.Column(type: "uniqueidentifier", nullable: false),
CreateTime = table.Column(type: "datetime2", nullable: false)
},
constraints: table =>
{
table.PrimaryKey("PK_TaskEvaluateProgress", x => x.Id);
},
comment: "项目阅片 - 任务评估进度");
}
///
protected override void Down(MigrationBuilder migrationBuilder)
{
}
}
}