23 lines
864 B
C#
23 lines
864 B
C#
|
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");
|
|||
|
}
|
|||
|
}
|
|||
|
}
|