32 lines
978 B
C#
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);
|
|
}
|
|
}
|
|
}
|