demo20230512/Migrations/202211290558022_addAdminAccessColumns.cs
2023-05-12 10:20:28 +08:00

25 lines
843 B
C#

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");
}
}
}