19 lines
524 B
C#
19 lines
524 B
C#
namespace Weee.Migrations
|
|
{
|
|
using System;
|
|
using System.Data.Entity.Migrations;
|
|
|
|
public partial class hotValue2nullable : DbMigration
|
|
{
|
|
public override void Up()
|
|
{
|
|
AlterColumn("dbo.YearlyParameterTypes", "oriHeatValue", c => c.Decimal(precision: 24, scale: 12));
|
|
}
|
|
|
|
public override void Down()
|
|
{
|
|
AlterColumn("dbo.YearlyParameterTypes", "oriHeatValue", c => c.Decimal(nullable: false, precision: 24, scale: 12));
|
|
}
|
|
}
|
|
}
|