demo20230512/Migrations/202303100540488_WasteAddColumns.cs

21 lines
621 B
C#
Raw Permalink Normal View History

2023-05-12 10:20:28 +08:00
namespace Weee.Migrations
{
using System;
using System.Data.Entity.Migrations;
public partial class WasteAddColumns : DbMigration
{
public override void Up()
{
AddColumn("dbo.ProductLCAFabSurveyForm_Wastes", "Name", c => c.String());
AddColumn("dbo.ProductLCAFabSurveyForm_Wastes", "ProcessType", c => c.Int(nullable: false));
}
public override void Down()
{
DropColumn("dbo.ProductLCAFabSurveyForm_Wastes", "ProcessType");
DropColumn("dbo.ProductLCAFabSurveyForm_Wastes", "Name");
}
}
}