25 lines
1.1 KiB
C#
25 lines
1.1 KiB
C#
namespace Weee.Migrations
|
|
{
|
|
using System;
|
|
using System.Data.Entity.Migrations;
|
|
|
|
public partial class MaterialAddColumns : DbMigration
|
|
{
|
|
public override void Up()
|
|
{
|
|
AddColumn("dbo.ProductLCAProductSurveyForm_Materials", "ReceivingAmount", c => c.Decimal(nullable: false, precision: 24, scale: 12));
|
|
AddColumn("dbo.ProductLCAProductSurveyForm_Materials", "ActualUsage", c => c.Decimal(nullable: false, precision: 24, scale: 12));
|
|
AddColumn("dbo.ProductLCAProductSurveyForm_Materials", "ReturnAmount", c => c.Decimal(nullable: false, precision: 24, scale: 12));
|
|
AddColumn("dbo.ProductLCAProductSurveyForm_Materials", "Depiction", c => c.String());
|
|
}
|
|
|
|
public override void Down()
|
|
{
|
|
DropColumn("dbo.ProductLCAProductSurveyForm_Materials", "Depiction");
|
|
DropColumn("dbo.ProductLCAProductSurveyForm_Materials", "ReturnAmount");
|
|
DropColumn("dbo.ProductLCAProductSurveyForm_Materials", "ActualUsage");
|
|
DropColumn("dbo.ProductLCAProductSurveyForm_Materials", "ReceivingAmount");
|
|
}
|
|
}
|
|
}
|