mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
feat(data): migrate PR #3457
This commit is contained in:
parent
9bf651160c
commit
15a05a6308
3 changed files with 90416 additions and 2 deletions
90334
services/Directory/FilterLists.Directory.Infrastructure.Migrations/Migrations/20230308220956_3457.Designer.cs
generated
Normal file
90334
services/Directory/FilterLists.Directory.Infrastructure.Migrations/Migrations/20230308220956_3457.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -0,0 +1,70 @@
|
|||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
#pragma warning disable CA1814 // Prefer jagged arrays over multidimensional
|
||||
|
||||
namespace FilterLists.Directory.Infrastructure.Migrations.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class _3457 : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_syntaxes",
|
||||
keyColumns: new[] { "filter_list_id", "syntax_id" },
|
||||
keyValues: new object[] { 2152L, 54L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_syntaxes",
|
||||
keyColumns: new[] { "filter_list_id", "syntax_id" },
|
||||
keyValues: new object[] { 2316L, 54L });
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_list_syntaxes",
|
||||
columns: new[] { "filter_list_id", "syntax_id" },
|
||||
values: new object[,]
|
||||
{
|
||||
{ 2152L, 1L },
|
||||
{ 2152L, 36L },
|
||||
{ 2316L, 1L },
|
||||
{ 2316L, 36L }
|
||||
});
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_syntaxes",
|
||||
keyColumns: new[] { "filter_list_id", "syntax_id" },
|
||||
keyValues: new object[] { 2152L, 1L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_syntaxes",
|
||||
keyColumns: new[] { "filter_list_id", "syntax_id" },
|
||||
keyValues: new object[] { 2152L, 36L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_syntaxes",
|
||||
keyColumns: new[] { "filter_list_id", "syntax_id" },
|
||||
keyValues: new object[] { 2316L, 1L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_syntaxes",
|
||||
keyColumns: new[] { "filter_list_id", "syntax_id" },
|
||||
keyValues: new object[] { 2316L, 36L });
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_list_syntaxes",
|
||||
columns: new[] { "filter_list_id", "syntax_id" },
|
||||
values: new object[,]
|
||||
{
|
||||
{ 2152L, 54L },
|
||||
{ 2316L, 54L }
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -43675,7 +43675,12 @@ protected override void BuildModel(ModelBuilder modelBuilder)
|
|||
new
|
||||
{
|
||||
FilterListId = 2152L,
|
||||
SyntaxId = 54L
|
||||
SyntaxId = 1L
|
||||
},
|
||||
new
|
||||
{
|
||||
FilterListId = 2152L,
|
||||
SyntaxId = 36L
|
||||
},
|
||||
new
|
||||
{
|
||||
|
|
@ -44405,7 +44410,12 @@ protected override void BuildModel(ModelBuilder modelBuilder)
|
|||
new
|
||||
{
|
||||
FilterListId = 2316L,
|
||||
SyntaxId = 54L
|
||||
SyntaxId = 1L
|
||||
},
|
||||
new
|
||||
{
|
||||
FilterListId = 2316L,
|
||||
SyntaxId = 36L
|
||||
},
|
||||
new
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue