demo20230512/Migrations/202211300623472_hotValue2nullable.cs

19 lines
524 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 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));
}
}
}