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