feat(data): migrate PR #2212

This commit is contained in:
Azure Pipelines EF Migration Bot 2021-02-08 20:08:08 +00:00 committed by Collin M. Barrett
parent a000d20773
commit 6792b953b1
3 changed files with 83143 additions and 0 deletions

View file

@ -0,0 +1,44 @@
using Microsoft.EntityFrameworkCore.Migrations;
namespace FilterLists.Directory.Infrastructure.Migrations.Migrations
{
public partial class _2212 : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.InsertData(
table: "FilterListMaintainers",
columns: new[] { "FilterListId", "MaintainerId" },
values: new object[,]
{
{ 2439, 157 },
{ 2440, 157 },
{ 2441, 157 },
{ 2442, 157 }
});
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DeleteData(
table: "FilterListMaintainers",
keyColumns: new[] { "FilterListId", "MaintainerId" },
keyValues: new object[] { 2439, 157 });
migrationBuilder.DeleteData(
table: "FilterListMaintainers",
keyColumns: new[] { "FilterListId", "MaintainerId" },
keyValues: new object[] { 2440, 157 });
migrationBuilder.DeleteData(
table: "FilterListMaintainers",
keyColumns: new[] { "FilterListId", "MaintainerId" },
keyValues: new object[] { 2441, 157 });
migrationBuilder.DeleteData(
table: "FilterListMaintainers",
keyColumns: new[] { "FilterListId", "MaintainerId" },
keyValues: new object[] { 2442, 157 });
}
}
}

View file

@ -30879,6 +30879,26 @@ protected override void BuildModel(ModelBuilder modelBuilder)
{
FilterListId = 2436,
MaintainerId = 22
},
new
{
FilterListId = 2439,
MaintainerId = 157
},
new
{
FilterListId = 2440,
MaintainerId = 157
},
new
{
FilterListId = 2441,
MaintainerId = 157
},
new
{
FilterListId = 2442,
MaintainerId = 157
});
});