demo20230512/Migrations/202212060311102_ProductLCAAddColumn.cs

23 lines
810 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 ProductLCAAddColumn : DbMigration
{
public override void Up()
{
AddColumn("dbo.ProductLCA", "FabProductionPcs", c => c.Decimal(precision: 24, scale: 12));
AddColumn("dbo.ProductLCA", "FabProductionEconomic", c => c.Decimal(precision: 24, scale: 12));
AddColumn("dbo.ProductLCA", "ProductProductionEconomic", c => c.Decimal(precision: 24, scale: 12));
}
public override void Down()
{
DropColumn("dbo.ProductLCA", "ProductProductionEconomic");
DropColumn("dbo.ProductLCA", "FabProductionEconomic");
DropColumn("dbo.ProductLCA", "FabProductionPcs");
}
}
}