Files
hrm_eva/Migrations/25640307042106_IncreaseFieldSize.cs
2021-03-07 12:48:25 +07:00

32 lines
978 B
C#

using Microsoft.EntityFrameworkCore.Migrations;
namespace tb320eva.Migrations
{
public partial class IncreaseFieldSize : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AlterColumn<string>(
name: "achievement",
table: "eva_evaluation_achievement",
maxLength: 3000,
nullable: true,
oldClrType: typeof(string),
oldMaxLength: 1000,
oldNullable: true);
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.AlterColumn<string>(
name: "achievement",
table: "eva_evaluation_achievement",
maxLength: 1000,
nullable: true,
oldClrType: typeof(string),
oldMaxLength: 3000,
oldNullable: true);
}
}
}