demo20230512/Migrations/202212271000501_alterRefrigNullable.cs

21 lines
723 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 alterRefrigNullable : DbMigration
{
public override void Up()
{
AlterColumn("dbo.LCACommonSurveyForm_Refrigerants", "ParameterID", c => c.Int(nullable: true));
AlterColumn("dbo.LCACommonSurveyForm_Refrigerants", "ParameterID2", c => c.Int(nullable: true));
}
public override void Down()
{
AlterColumn("dbo.LCACommonSurveyForm_Refrigerants", "ParameterID", c => c.Int(nullable: false));
AlterColumn("dbo.LCACommonSurveyForm_Refrigerants", "ParameterID2", c => c.Int(nullable: false));
}
}
}