mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
feat(data): migrate PR #2212
This commit is contained in:
parent
a000d20773
commit
6792b953b1
3 changed files with 83143 additions and 0 deletions
83079
services/Directory/FilterLists.Directory.Infrastructure.Migrations/Migrations/20210208200808_2212.Designer.cs
generated
Normal file
83079
services/Directory/FilterLists.Directory.Infrastructure.Migrations/Migrations/20210208200808_2212.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -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 });
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -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
|
||||
});
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue