demo20230512/Migrations/202301180141397_UpdateProductLCAandTransport.cs
2023-05-12 10:20:28 +08:00

23 lines
870 B
C#

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");
}
}
}