namespace Weee.Migrations { using System; using System.Data.Entity.Migrations; public partial class addAdminAccessColumns : DbMigration { public override void Up() { AddColumn("dbo.AdminAccesses", "ServerUrl", c => c.String()); AddColumn("dbo.AdminAccessHistories", "ServerUrl", c => c.String()); AddColumn("dbo.AdminAccessUsages", "ServerUrl", c => c.String()); AddColumn("dbo.AdminAccessUsages", "rowHash", c => c.String()); } public override void Down() { DropColumn("dbo.AdminAccessUsages", "rowHash"); DropColumn("dbo.AdminAccessUsages", "ServerUrl"); DropColumn("dbo.AdminAccessHistories", "ServerUrl"); DropColumn("dbo.AdminAccesses", "ServerUrl"); } } }