demo20230512/Migrations/202211091439514_addBaseYearLCAIDrefUrl.cs

21 lines
656 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 addBaseYearLCAIDrefUrl : DbMigration
{
public override void Up()
{
AddColumn("dbo.LCAs", "BaseYearLCAID", c => c.Int(nullable:true));
AddColumn("dbo.OrganizationLCAFabSurveyForm_OtherCompounds", "ReferenceFileUrl", c => c.String(nullable:true, unicode:false));
}
public override void Down()
{
DropColumn("dbo.OrganizationLCAFabSurveyForm_OtherCompounds", "ReferenceFileUrl");
DropColumn("dbo.LCAs", "BaseYearLCAID");
}
}
}