21 lines
676 B
C#
21 lines
676 B
C#
namespace Weee.Migrations
|
|
{
|
|
using System;
|
|
using System.Data.Entity.Migrations;
|
|
|
|
public partial class add2FunctionalUnit : DbMigration
|
|
{
|
|
public override void Up()
|
|
{
|
|
AddColumn("dbo.ProductLCA", "FunctionalUnit", c => c.String(nullable:false, unicode:true, maxLength:20, defaultValue:""));
|
|
AddColumn("dbo.Products", "FunctionalUnit", c => c.String(nullable: false, unicode: true, maxLength: 20, defaultValue: ""));
|
|
}
|
|
|
|
public override void Down()
|
|
{
|
|
DropColumn("dbo.Products", "FunctionalUnit");
|
|
DropColumn("dbo.ProductLCA", "FunctionalUnit");
|
|
}
|
|
}
|
|
}
|