21 lines
539 B
C#
21 lines
539 B
C#
|
namespace Weee.Migrations
|
|||
|
{
|
|||
|
using System;
|
|||
|
using System.Data.Entity.Migrations;
|
|||
|
|
|||
|
public partial class addFabProductUserId : DbMigration
|
|||
|
{
|
|||
|
public override void Up()
|
|||
|
{
|
|||
|
AddColumn("dbo.Fabs", "UserId", c => c.String(maxLength: 128));
|
|||
|
AddColumn("dbo.Products", "UserId", c => c.String(maxLength: 128));
|
|||
|
}
|
|||
|
|
|||
|
public override void Down()
|
|||
|
{
|
|||
|
DropColumn("dbo.Products", "UserId");
|
|||
|
DropColumn("dbo.Fabs", "UserId");
|
|||
|
}
|
|||
|
}
|
|||
|
}
|