23 lines
919 B
C#
23 lines
919 B
C#
|
namespace Weee.Migrations
|
|||
|
{
|
|||
|
using System;
|
|||
|
using System.Data.Entity.Migrations;
|
|||
|
|
|||
|
public partial class addProductMaterialColumns : DbMigration
|
|||
|
{
|
|||
|
public override void Up()
|
|||
|
{
|
|||
|
AddColumn("dbo.ProductLCAProductSurveyForm_Materials", "oriHighLevelAnalyzeResult", c => c.Decimal(precision: 24, scale: 12));
|
|||
|
AddColumn("dbo.ProductLCAProductSurveyForm_Materials", "oriKgCO2e", c => c.Decimal(precision: 24, scale: 12));
|
|||
|
AddColumn("dbo.ProductLCAProductSurveyForm_Materials", "modifyTime", c => c.DateTime());
|
|||
|
}
|
|||
|
|
|||
|
public override void Down()
|
|||
|
{
|
|||
|
DropColumn("dbo.ProductLCAProductSurveyForm_Materials", "modifyTime");
|
|||
|
DropColumn("dbo.ProductLCAProductSurveyForm_Materials", "oriKgCO2e");
|
|||
|
DropColumn("dbo.ProductLCAProductSurveyForm_Materials", "oriHighLevelAnalyzeResult");
|
|||
|
}
|
|||
|
}
|
|||
|
}
|