demo20230512/Migrations/202210140652477_addYearParaTypeIPCC2006s.cs

23 lines
864 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 addYearParaTypeIPCC2006s : DbMigration
{
public override void Up()
{
AddColumn("dbo.YearlyParameterTypes", "IPCC2006C", c => c.Decimal(nullable: false, precision: 24, scale: 12));
AddColumn("dbo.YearlyParameterTypes", "IPCC2006CH4", c => c.Decimal(nullable: false, precision: 24, scale: 12));
AddColumn("dbo.YearlyParameterTypes", "IPCC2006N2O", c => c.Decimal(nullable: false, precision: 24, scale: 12));
}
public override void Down()
{
DropColumn("dbo.YearlyParameterTypes", "IPCC2006N2O");
DropColumn("dbo.YearlyParameterTypes", "IPCC2006CH4");
DropColumn("dbo.YearlyParameterTypes", "IPCC2006C");
}
}
}