แก้ไข op 10 ข้อ

This commit is contained in:
Nakorn Rientrakrunchai
2021-03-07 12:48:25 +07:00
parent 9530d1aa37
commit 9bac5ef7d3
23 changed files with 1567 additions and 355 deletions

View File

@@ -0,0 +1,31 @@
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);
}
}
}