You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
32 lines
949 B
32 lines
949 B
2 years ago
|
using Microsoft.EntityFrameworkCore.Migrations;
|
||
|
|
||
|
namespace Win_in.Sfs.Basedata.Migrations
|
||
|
{
|
||
|
public partial class itemstatus : Migration
|
||
|
{
|
||
|
protected override void Up(MigrationBuilder migrationBuilder)
|
||
|
{
|
||
|
migrationBuilder.AlterColumn<int>(
|
||
|
name: "Status",
|
||
|
table: "Basedata_ItemBasic",
|
||
|
type: "int",
|
||
|
nullable: false,
|
||
|
oldClrType: typeof(string),
|
||
|
oldType: "nvarchar(64)",
|
||
|
oldMaxLength: 64);
|
||
|
}
|
||
|
|
||
|
protected override void Down(MigrationBuilder migrationBuilder)
|
||
|
{
|
||
|
migrationBuilder.AlterColumn<string>(
|
||
|
name: "Status",
|
||
|
table: "Basedata_ItemBasic",
|
||
|
type: "nvarchar(64)",
|
||
|
maxLength: 64,
|
||
|
nullable: false,
|
||
|
oldClrType: typeof(int),
|
||
|
oldType: "int");
|
||
|
}
|
||
|
}
|
||
|
}
|