23 lines
968 B
C#
23 lines
968 B
C#
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");
|
|
}
|
|
}
|
|
}
|