demo20230512/Migrations/202303020624382_updateRiskMaterialPurchaseType.cs

19 lines
598 B
C#
Raw Permalink Normal View History

2023-05-12 10:20:28 +08:00
namespace Weee.Migrations
{
using System;
using System.Data.Entity.Migrations;
public partial class updateRiskMaterialPurchaseType : DbMigration
{
public override void Up()
{
AlterColumn("dbo.LCARiskAssmtSurveyForm_MaterialC3Emission", "AnnualPurchaseAmount", c => c.Decimal(nullable: false, precision: 24, scale: 12, defaultValue:0));
}
public override void Down()
{
AlterColumn("dbo.LCARiskAssmtSurveyForm_MaterialC3Emission", "AnnualPurchaseAmount", c => c.Int(nullable: false));
}
}
}