demo20230512/Migrations/202207200408310_FabAddrCols.cs

21 lines
543 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 FabAddrCols : DbMigration
{
public override void Up()
{
AddColumn("dbo.Fabs", "addressCity", c => c.String(maxLength: 20));
AddColumn("dbo.Fabs", "addressFloor", c => c.String(maxLength: 10));
}
public override void Down()
{
DropColumn("dbo.Fabs", "addressFloor");
DropColumn("dbo.Fabs", "addressCity");
}
}
}