demo20230512/Migrations/202212200356570_addColumnEmployeeCommuting1.cs

25 lines
1.2 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 addColumnEmployeeCommuting1 : DbMigration
{
public override void Up()
{
AddColumn("dbo.LCARiskAssmtSurveyForm_EmployeeCommuting", "RroundTrip", c => c.Int(nullable: false, defaultValue: 0));
AddColumn("dbo.LCARiskAssmtSurveyForm_EmployeeCommuting", "MovingScenario", c => c.String(nullable: false, defaultValue:""));
AddColumn("dbo.LCARiskAssmtSurveyForm_EmployeeCommuting", "CoefficientNote", c => c.String(nullable: false, defaultValue: ""));
AddColumn("dbo.LCARiskAssmtSurveyForm_EmployeeCommuting", "CoefficienUnit", c => c.String(nullable: false, defaultValue: ""));
}
public override void Down()
{
DropColumn("dbo.LCARiskAssmtSurveyForm_EmployeeCommuting", "CoefficienUnit");
DropColumn("dbo.LCARiskAssmtSurveyForm_EmployeeCommuting", "CoefficientNote");
DropColumn("dbo.LCARiskAssmtSurveyForm_EmployeeCommuting", "MovingScenario");
DropColumn("dbo.LCARiskAssmtSurveyForm_EmployeeCommuting", "RroundTrip");
}
}
}