mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
feat(data): migrate PR #3585
This commit is contained in:
parent
51fd3842a5
commit
807f3b03fd
3 changed files with 90863 additions and 26 deletions
90641
services/Directory/FilterLists.Directory.Infrastructure.Migrations/Migrations/20230504052805_3585.Designer.cs
generated
Normal file
90641
services/Directory/FilterLists.Directory.Infrastructure.Migrations/Migrations/20230504052805_3585.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -0,0 +1,196 @@
|
|||
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 _3585 : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2520L, 2806L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2520L, 2807L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2521L, 2809L });
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2471L, 2732L },
|
||||
column: "url",
|
||||
value: "https://cdn.statically.io/gh/EasyDutch-uBO/EasyDutch/gh-pages/EasyDutch.txt");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2471L, 2800L },
|
||||
column: "url",
|
||||
value: "https://easydutch-ubo.github.io/EasyDutchCDN/EasyDutch.txt");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2471L, 2801L },
|
||||
column: "url",
|
||||
value: "https://easydutch-ubo.github.io/EasyDutchCDN/EasyDutch.all.txt");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2471L, 2802L },
|
||||
column: "url",
|
||||
value: "https://cdn.statically.io/gh/EasyDutch-uBO/EasyDutchCDN/main/EasyDutch.all.txt");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2471L, 2803L },
|
||||
column: "url",
|
||||
value: "https://cdn.jsdelivr.net/gh/EasyDutch-uBO/EasyDutchCDN@main/EasyDutch.all.txt");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2471L, 2805L },
|
||||
column: "url",
|
||||
value: "https://raw.githubusercontent.com/BPower0036/AdBlockFilters/main/EasyDutch.all.txt");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2520L, 2808L },
|
||||
columns: new[] { "primariness", "url" },
|
||||
values: new object[] { (short)2, "https://cdn.statically.io/gh/BPower0036/AdBlockfilters/main/dynamic rules" });
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2521L, 2810L },
|
||||
columns: new[] { "primariness", "url" },
|
||||
values: new object[] { (short)2, "https://cdn.statically.io/gh/BPower0036/AdBlockfilters/main/my filters" });
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2521L, 2811L },
|
||||
columns: new[] { "primariness", "url" },
|
||||
values: new object[] { (short)3, "https://cdn.jsdelivr.net/gh/BPower0036/AdBlockfilters@main/my filters" });
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_list_view_urls",
|
||||
columns: new[] { "filter_list_id", "id", "primariness", "url" },
|
||||
values: new object[,]
|
||||
{
|
||||
{ 2471L, 2806L, (short)11, "https://cdn.statically.io/gh/BPower0036/AdBlockFilters/main/EasyDutch.all.txt" },
|
||||
{ 2471L, 2807L, (short)12, "https://cdn.jsdelivr.net/gh/BPower0036/AdBlockFilters@main/EasyDutch.all.txt" },
|
||||
{ 2520L, 2809L, (short)3, "https://cdn.jsdelivr.net/gh/BPower0036/AdBlockfilters@main/dynamic rules" }
|
||||
});
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2471L, 2806L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2471L, 2807L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2520L, 2809L });
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2471L, 2732L },
|
||||
column: "url",
|
||||
value: "https://easydutch-ubo.github.io/EasyDutchCDN/EasyDutch.txt");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2471L, 2800L },
|
||||
column: "url",
|
||||
value: "https://combinatronics.io/EasyDutch-uBO/EasyDutch/gh-pages/EasyDutch.txt");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2471L, 2801L },
|
||||
column: "url",
|
||||
value: "https://cdn.statically.io/gh/EasyDutch-uBO/EasyDutchCDN/main/EasyDutch.txt");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2471L, 2802L },
|
||||
column: "url",
|
||||
value: "https://cdn.jsdelivr.net/gh/EasyDutch-uBO/EasyDutchCDN@main/EasyDutch.txt");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2471L, 2803L },
|
||||
column: "url",
|
||||
value: "https://combinatronics.io/EasyDutch-uBO/EasyDutchCDN/main/EasyDutch.txt");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2471L, 2805L },
|
||||
column: "url",
|
||||
value: "https://cdn.statically.io/gh/BPower0036/AdBlockFilters/main/EasyDutch.txt");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2520L, 2808L },
|
||||
columns: new[] { "primariness", "url" },
|
||||
values: new object[] { (short)4, "https://combinatronics.io/BPower0036/AdBlockfilters/main/dynamic rules" });
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2521L, 2810L },
|
||||
columns: new[] { "primariness", "url" },
|
||||
values: new object[] { (short)3, "https://cdn.jsdelivr.net/gh/BPower0036/AdBlockfilters@main/my filters" });
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2521L, 2811L },
|
||||
columns: new[] { "primariness", "url" },
|
||||
values: new object[] { (short)4, "https://combinatronics.io/BPower0036/AdBlockfilters/main/my filters" });
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_list_view_urls",
|
||||
columns: new[] { "filter_list_id", "id", "primariness", "url" },
|
||||
values: new object[,]
|
||||
{
|
||||
{ 2520L, 2806L, (short)2, "https://cdn.statically.io/gh/BPower0036/AdBlockfilters/main/dynamic rules" },
|
||||
{ 2520L, 2807L, (short)3, "https://cdn.jsdelivr.net/gh/BPower0036/AdBlockfilters@main/dynamic rules" },
|
||||
{ 2521L, 2809L, (short)2, "https://cdn.statically.io/gh/BPower0036/AdBlockfilters/main/my filters" }
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -88904,7 +88904,7 @@ protected override void BuildModel(ModelBuilder modelBuilder)
|
|||
Id = 2732L,
|
||||
Primariness = (short)2,
|
||||
SegmentNumber = (short)0,
|
||||
Url = "https://easydutch-ubo.github.io/EasyDutchCDN/EasyDutch.txt"
|
||||
Url = "https://cdn.statically.io/gh/EasyDutch-uBO/EasyDutch/gh-pages/EasyDutch.txt"
|
||||
},
|
||||
new
|
||||
{
|
||||
|
|
@ -89432,7 +89432,7 @@ protected override void BuildModel(ModelBuilder modelBuilder)
|
|||
Id = 2800L,
|
||||
Primariness = (short)5,
|
||||
SegmentNumber = (short)0,
|
||||
Url = "https://combinatronics.io/EasyDutch-uBO/EasyDutch/gh-pages/EasyDutch.txt"
|
||||
Url = "https://easydutch-ubo.github.io/EasyDutchCDN/EasyDutch.txt"
|
||||
},
|
||||
new
|
||||
{
|
||||
|
|
@ -89440,7 +89440,7 @@ protected override void BuildModel(ModelBuilder modelBuilder)
|
|||
Id = 2801L,
|
||||
Primariness = (short)6,
|
||||
SegmentNumber = (short)0,
|
||||
Url = "https://cdn.statically.io/gh/EasyDutch-uBO/EasyDutchCDN/main/EasyDutch.txt"
|
||||
Url = "https://easydutch-ubo.github.io/EasyDutchCDN/EasyDutch.all.txt"
|
||||
},
|
||||
new
|
||||
{
|
||||
|
|
@ -89448,7 +89448,7 @@ protected override void BuildModel(ModelBuilder modelBuilder)
|
|||
Id = 2802L,
|
||||
Primariness = (short)7,
|
||||
SegmentNumber = (short)0,
|
||||
Url = "https://cdn.jsdelivr.net/gh/EasyDutch-uBO/EasyDutchCDN@main/EasyDutch.txt"
|
||||
Url = "https://cdn.statically.io/gh/EasyDutch-uBO/EasyDutchCDN/main/EasyDutch.all.txt"
|
||||
},
|
||||
new
|
||||
{
|
||||
|
|
@ -89456,7 +89456,7 @@ protected override void BuildModel(ModelBuilder modelBuilder)
|
|||
Id = 2803L,
|
||||
Primariness = (short)8,
|
||||
SegmentNumber = (short)0,
|
||||
Url = "https://combinatronics.io/EasyDutch-uBO/EasyDutchCDN/main/EasyDutch.txt"
|
||||
Url = "https://cdn.jsdelivr.net/gh/EasyDutch-uBO/EasyDutchCDN@main/EasyDutch.all.txt"
|
||||
},
|
||||
new
|
||||
{
|
||||
|
|
@ -89472,12 +89472,28 @@ protected override void BuildModel(ModelBuilder modelBuilder)
|
|||
Id = 2805L,
|
||||
Primariness = (short)10,
|
||||
SegmentNumber = (short)0,
|
||||
Url = "https://cdn.statically.io/gh/BPower0036/AdBlockFilters/main/EasyDutch.txt"
|
||||
Url = "https://raw.githubusercontent.com/BPower0036/AdBlockFilters/main/EasyDutch.all.txt"
|
||||
},
|
||||
new
|
||||
{
|
||||
FilterListId = 2471L,
|
||||
Id = 2806L,
|
||||
Primariness = (short)11,
|
||||
SegmentNumber = (short)0,
|
||||
Url = "https://cdn.statically.io/gh/BPower0036/AdBlockFilters/main/EasyDutch.all.txt"
|
||||
},
|
||||
new
|
||||
{
|
||||
FilterListId = 2471L,
|
||||
Id = 2807L,
|
||||
Primariness = (short)12,
|
||||
SegmentNumber = (short)0,
|
||||
Url = "https://cdn.jsdelivr.net/gh/BPower0036/AdBlockFilters@main/EasyDutch.all.txt"
|
||||
},
|
||||
new
|
||||
{
|
||||
FilterListId = 2520L,
|
||||
Id = 2806L,
|
||||
Id = 2808L,
|
||||
Primariness = (short)2,
|
||||
SegmentNumber = (short)0,
|
||||
Url = "https://cdn.statically.io/gh/BPower0036/AdBlockfilters/main/dynamic rules"
|
||||
|
|
@ -89485,23 +89501,15 @@ protected override void BuildModel(ModelBuilder modelBuilder)
|
|||
new
|
||||
{
|
||||
FilterListId = 2520L,
|
||||
Id = 2807L,
|
||||
Id = 2809L,
|
||||
Primariness = (short)3,
|
||||
SegmentNumber = (short)0,
|
||||
Url = "https://cdn.jsdelivr.net/gh/BPower0036/AdBlockfilters@main/dynamic rules"
|
||||
},
|
||||
new
|
||||
{
|
||||
FilterListId = 2520L,
|
||||
Id = 2808L,
|
||||
Primariness = (short)4,
|
||||
SegmentNumber = (short)0,
|
||||
Url = "https://combinatronics.io/BPower0036/AdBlockfilters/main/dynamic rules"
|
||||
},
|
||||
new
|
||||
{
|
||||
FilterListId = 2521L,
|
||||
Id = 2809L,
|
||||
Id = 2810L,
|
||||
Primariness = (short)2,
|
||||
SegmentNumber = (short)0,
|
||||
Url = "https://cdn.statically.io/gh/BPower0036/AdBlockfilters/main/my filters"
|
||||
|
|
@ -89509,20 +89517,12 @@ protected override void BuildModel(ModelBuilder modelBuilder)
|
|||
new
|
||||
{
|
||||
FilterListId = 2521L,
|
||||
Id = 2810L,
|
||||
Id = 2811L,
|
||||
Primariness = (short)3,
|
||||
SegmentNumber = (short)0,
|
||||
Url = "https://cdn.jsdelivr.net/gh/BPower0036/AdBlockfilters@main/my filters"
|
||||
},
|
||||
new
|
||||
{
|
||||
FilterListId = 2521L,
|
||||
Id = 2811L,
|
||||
Primariness = (short)4,
|
||||
SegmentNumber = (short)0,
|
||||
Url = "https://combinatronics.io/BPower0036/AdBlockfilters/main/my filters"
|
||||
},
|
||||
new
|
||||
{
|
||||
FilterListId = 2519L,
|
||||
Id = 2812L,
|
||||
|
|
|
|||
Loading…
Reference in a new issue