23 lines
894 B
C#
23 lines
894 B
C#
namespace Weee.Migrations
|
|
{
|
|
using System;
|
|
using System.Data.Entity.Migrations;
|
|
|
|
public partial class addLifecycleAssmtColumns : DbMigration
|
|
{
|
|
public override void Up()
|
|
{
|
|
AddColumn("dbo.LCARiskAssmtSurveyForm_LifecycleAssmt", "category", c => c.String(maxLength:1));
|
|
AddColumn("dbo.LCARiskAssmtSurveyForm_LifecycleAssmt", "categorySubItem", c => c.String(maxLength:20));
|
|
AddColumn("dbo.LCARiskAssmtSurveyForm_LifecycleAssmt", "GHGinventoryItemNo", c => c.String(maxLength:5));
|
|
}
|
|
|
|
public override void Down()
|
|
{
|
|
DropColumn("dbo.LCARiskAssmtSurveyForm_LifecycleAssmt", "GHGinventoryItemNo");
|
|
DropColumn("dbo.LCARiskAssmtSurveyForm_LifecycleAssmt", "categorySubItem");
|
|
DropColumn("dbo.LCARiskAssmtSurveyForm_LifecycleAssmt", "category");
|
|
}
|
|
}
|
|
}
|