25 lines
1.2 KiB
C#
25 lines
1.2 KiB
C#
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");
|
|
}
|
|
}
|
|
}
|