21 lines
555 B
C#
21 lines
555 B
C#
|
namespace Weee.Migrations
|
|||
|
{
|
|||
|
using System;
|
|||
|
using System.Data.Entity.Migrations;
|
|||
|
|
|||
|
public partial class CompanyAddColumns : DbMigration
|
|||
|
{
|
|||
|
public override void Up()
|
|||
|
{
|
|||
|
AddColumn("dbo.Companies", "BusinessAddress", c => c.String());
|
|||
|
AddColumn("dbo.Companies", "Industry", c => c.Int(nullable: false));
|
|||
|
}
|
|||
|
|
|||
|
public override void Down()
|
|||
|
{
|
|||
|
DropColumn("dbo.Companies", "Industry");
|
|||
|
DropColumn("dbo.Companies", "BusinessAddress");
|
|||
|
}
|
|||
|
}
|
|||
|
}
|