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.
35 lines
970 B
35 lines
970 B
2 years ago
|
using Microsoft.EntityFrameworkCore.Migrations;
|
||
|
|
||
|
namespace Win_in.Sfs.Wms.Job.Migrations
|
||
|
{
|
||
|
public partial class countjob : Migration
|
||
|
{
|
||
|
protected override void Up(MigrationBuilder migrationBuilder)
|
||
|
{
|
||
|
migrationBuilder.AddColumn<string>(
|
||
|
name: "Description",
|
||
|
table: "JobCountJob",
|
||
|
type: "nvarchar(max)",
|
||
|
nullable: true);
|
||
|
|
||
|
migrationBuilder.AddColumn<int>(
|
||
|
name: "Type",
|
||
|
table: "JobCountJob",
|
||
|
type: "int",
|
||
|
nullable: false,
|
||
|
defaultValue: 0);
|
||
|
}
|
||
|
|
||
|
protected override void Down(MigrationBuilder migrationBuilder)
|
||
|
{
|
||
|
migrationBuilder.DropColumn(
|
||
|
name: "Description",
|
||
|
table: "JobCountJob");
|
||
|
|
||
|
migrationBuilder.DropColumn(
|
||
|
name: "Type",
|
||
|
table: "JobCountJob");
|
||
|
}
|
||
|
}
|
||
|
}
|