เพิ่มขนาดช่องเก็บ และปรับ logic

This commit is contained in:
Nakorn Rientrakrunchai
2020-12-07 18:14:50 +07:00
parent 8ac63e8ec6
commit 629b29180a
6 changed files with 738 additions and 6 deletions

View File

@@ -0,0 +1,31 @@
using Microsoft.EntityFrameworkCore.Migrations;
namespace tb320eva.Migrations
{
public partial class AddLenghtOfDB : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.AlterColumn<string>(
name: "command_no",
table: "eva_adjust_postponement",
maxLength: 4000,
nullable: true,
oldClrType: typeof(string),
oldMaxLength: 100,
oldNullable: true);
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.AlterColumn<string>(
name: "command_no",
table: "eva_adjust_postponement",
maxLength: 100,
nullable: true,
oldClrType: typeof(string),
oldMaxLength: 4000,
oldNullable: true);
}
}
}