demo20230512/Migrations/202206150359521_add_NumberOfEmployees.cs

19 lines
426 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 add_NumberOfEmployees : DbMigration
{
public override void Up()
{
AddColumn("dbo.Companies", "NumberOfEmployees", c => c.Int());
}
public override void Down()
{
DropColumn("dbo.Companies", "NumberOfEmployees");
}
}
}