using System;
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace IRaCIS.Core.Infra.EFCore.Migrations
{
///
public partial class TrianingState : Migration
{
///
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AlterColumn(
name: "TrianingState",
table: "TrialTrianingRecord",
type: "nvarchar(400)",
maxLength: 400,
nullable: true,
comment: "培训效果",
oldClrType: typeof(int),
oldType: "int",
oldNullable: true,
oldComment: "培训效果");
migrationBuilder.AddColumn(
name: "FileRecordId",
table: "TrialFileType",
type: "uniqueidentifier",
nullable: true,
comment: "文件Id");
}
///
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DropColumn(
name: "FileRecordId",
table: "TrialFileType");
migrationBuilder.AlterColumn(
name: "TrianingState",
table: "TrialTrianingRecord",
type: "int",
nullable: true,
comment: "培训效果",
oldClrType: typeof(string),
oldType: "nvarchar(400)",
oldMaxLength: 400,
oldNullable: true,
oldComment: "培训效果");
}
}
}