demo20230512/Migrations/202302030338486_FabAddColumn.cs

19 lines
424 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 FabAddColumn : DbMigration
{
public override void Up()
{
AddColumn("dbo.Fabs", "enable", c => c.Boolean(nullable: false, defaultValue: true));
}
public override void Down()
{
DropColumn("dbo.Fabs", "enable");
}
}
}