demo20230512/Migrations/201503100153560_updateWasteProperty.cs

23 lines
1.0 KiB
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 updateWasteProperty : DbMigration
{
public override void Up()
{
AlterColumn("dbo.ProductLCAFabSurveyForm_Wastes", "WaterBOD", c => c.Decimal(precision: 18, scale: 6));
AlterColumn("dbo.ProductLCAFabSurveyForm_Wastes", "WaterCOD", c => c.Decimal(precision: 18, scale: 6));
AlterColumn("dbo.ProductLCAFabSurveyForm_Wastes", "WaterCMD", c => c.Decimal(precision: 18, scale: 6));
}
public override void Down()
{
AlterColumn("dbo.ProductLCAFabSurveyForm_Wastes", "WaterCMD", c => c.Decimal(nullable: false, precision: 18, scale: 6));
AlterColumn("dbo.ProductLCAFabSurveyForm_Wastes", "WaterCOD", c => c.Decimal(nullable: false, precision: 18, scale: 6));
AlterColumn("dbo.ProductLCAFabSurveyForm_Wastes", "WaterBOD", c => c.Decimal(nullable: false, precision: 18, scale: 6));
}
}
}