demo20230512/Migrations/202301170901445_add2FunctionalUnit.cs

21 lines
676 B
C#
Raw Normal View History

2023-05-12 10:20:28 +08:00
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");
}
}
}