demo20230512/Migrations/202301180141397_UpdateProductLCAandTransport.cs

23 lines
870 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 UpdateProductLCAandTransport : DbMigration
{
public override void Up()
{
AddColumn("dbo.ProductLCA", "ProductAllocationTransportUpstream", c => c.Int(nullable: false));
AddColumn("dbo.ProductLCA", "ProductAllocationTransportDownstream", c => c.Int(nullable: false));
AddColumn("dbo.ProductLCAFabSurveyForm_Transports", "TransportType", c => c.Int(nullable: false));
}
public override void Down()
{
DropColumn("dbo.ProductLCAFabSurveyForm_Transports", "TransportType");
DropColumn("dbo.ProductLCA", "ProductAllocationTransportDownstream");
DropColumn("dbo.ProductLCA", "ProductAllocationTransportUpstream");
}
}
}