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.
45 lines
1.3 KiB
45 lines
1.3 KiB
2 years ago
|
using System;
|
||
|
using Microsoft.EntityFrameworkCore.Migrations;
|
||
|
|
||
|
namespace Win_in.Sfs.Wms.Job.Migrations
|
||
|
{
|
||
|
public partial class countjob0620 : Migration
|
||
|
{
|
||
|
protected override void Up(MigrationBuilder migrationBuilder)
|
||
|
{
|
||
|
migrationBuilder.RenameColumn(
|
||
|
name: "CountQty_Uom",
|
||
|
table: "JobCountJobDetail",
|
||
|
newName: "CountQty_Operator");
|
||
|
|
||
|
migrationBuilder.AddColumn<string>(
|
||
|
name: "CountQty_Description",
|
||
|
table: "JobCountJobDetail",
|
||
|
type: "nvarchar(max)",
|
||
|
nullable: true);
|
||
|
|
||
|
migrationBuilder.AddColumn<DateTime>(
|
||
|
name: "CountQty_Time",
|
||
|
table: "JobCountJobDetail",
|
||
|
type: "datetime2",
|
||
|
nullable: true);
|
||
|
}
|
||
|
|
||
|
protected override void Down(MigrationBuilder migrationBuilder)
|
||
|
{
|
||
|
migrationBuilder.DropColumn(
|
||
|
name: "CountQty_Description",
|
||
|
table: "JobCountJobDetail");
|
||
|
|
||
|
migrationBuilder.DropColumn(
|
||
|
name: "CountQty_Time",
|
||
|
table: "JobCountJobDetail");
|
||
|
|
||
|
migrationBuilder.RenameColumn(
|
||
|
name: "CountQty_Operator",
|
||
|
table: "JobCountJobDetail",
|
||
|
newName: "CountQty_Uom");
|
||
|
}
|
||
|
}
|
||
|
}
|