21 lines
505 B
C#
21 lines
505 B
C#
namespace Weee.Migrations
|
|
{
|
|
using System;
|
|
using System.Data.Entity.Migrations;
|
|
|
|
public partial class addUserId2LCA : DbMigration
|
|
{
|
|
public override void Up()
|
|
{
|
|
AddColumn("dbo.LCAs", "UserId", c => c.String(maxLength: 128));
|
|
CreateIndex("dbo.LCAs", "UserId");
|
|
}
|
|
|
|
public override void Down()
|
|
{
|
|
DropIndex("dbo.LCAs", new[] { "UserId" });
|
|
DropColumn("dbo.LCAs", "UserId");
|
|
}
|
|
}
|
|
}
|