demo20230512/Migrations/202212280229101_addMaterialTransportColumns.cs

21 lines
745 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 addMaterialTransportColumns : DbMigration
{
public override void Up()
{
AddColumn("dbo.LCARiskAssmtSurveyForm_MaterialTransport", "ScalarComment", c => c.String(nullable:true, unicode:true));
AddColumn("dbo.LCARiskAssmtSurveyForm_MaterialTransport", "ScalarUnit", c => c.String(nullable:true, unicode:true, maxLength:20));
}
public override void Down()
{
DropColumn("dbo.LCARiskAssmtSurveyForm_MaterialTransport", "ScalarUnit");
DropColumn("dbo.LCARiskAssmtSurveyForm_MaterialTransport", "ScalarComment");
}
}
}