23 lines
870 B
C#
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");
|
|||
|
}
|
|||
|
}
|
|||
|
}
|