demo20230512/Migrations/202211150714079_addLcaCompanyColumns.cs

21 lines
576 B
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 addLcaCompanyColumns : DbMigration
{
public override void Up()
{
AddColumn("dbo.Companies", "firstActivatedDate", c => c.DateTime());
AddColumn("dbo.LCAs", "listReportGeneratedTime", c => c.DateTime());
}
public override void Down()
{
DropColumn("dbo.LCAs", "listReportGeneratedTime");
DropColumn("dbo.Companies", "firstActivatedDate");
}
}
}