demo20230512/Migrations/202301160136237_update_Gasoline_Vehicle_Kitchen_Column.cs

23 lines
968 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 update_Gasoline_Vehicle_Kitchen_Column : DbMigration
{
public override void Up()
{
AddColumn("dbo.LCACommonSurveyForm_GasolineEquipments", "ParameterValue", c => c.Decimal(nullable: false, precision: 24, scale: 12));
AddColumn("dbo.LCACommonSurveyForm_Kitchens", "ParameterValue", c => c.Decimal(nullable: false, precision: 24, scale: 12));
AddColumn("dbo.LCACommonSurveyForm_Vehicles", "ParameterValue", c => c.Decimal(nullable: false, precision: 24, scale: 12));
}
public override void Down()
{
DropColumn("dbo.LCACommonSurveyForm_Vehicles", "ParameterValue");
DropColumn("dbo.LCACommonSurveyForm_Kitchens", "ParameterValue");
DropColumn("dbo.LCACommonSurveyForm_GasolineEquipments", "ParameterValue");
}
}
}