mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
feat(data): migrate PR #3860
This commit is contained in:
parent
2fb14c2515
commit
be4b022e28
3 changed files with 88029 additions and 16 deletions
87813
services/Directory/FilterLists.Directory.Infrastructure.Migrations/Migrations/20231012122552_3860.Designer.cs
generated
Normal file
87813
services/Directory/FilterLists.Directory.Infrastructure.Migrations/Migrations/20231012122552_3860.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -0,0 +1,200 @@
|
|||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace FilterLists.Directory.Infrastructure.Migrations.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class _3860 : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2471L, 2804L },
|
||||
column: "url",
|
||||
value: "https://raw.githubusercontent.com/Nomes77/AdBlockFilters/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://raw.githubusercontent.com/Nomes77/AdBlockFilters/main/EasyDutch.all.txt");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2471L, 2806L },
|
||||
column: "url",
|
||||
value: "https://cdn.statically.io/gh/Nomes77/AdBlockFilters/main/EasyDutch.all.txt");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2471L, 2807L },
|
||||
column: "url",
|
||||
value: "https://cdn.jsdelivr.net/gh/Nomes77/AdBlockFilters@main/EasyDutch.all.txt");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2520L, 2733L },
|
||||
column: "url",
|
||||
value: "https://raw.githubusercontent.com/Nomes77/AdBlockFilters/main/dynamic rules");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2520L, 2808L },
|
||||
column: "url",
|
||||
value: "https://cdn.statically.io/gh/Nomes77/AdBlockfilters/main/dynamic rules");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2520L, 2809L },
|
||||
column: "url",
|
||||
value: "https://cdn.jsdelivr.net/gh/Nomes77/AdBlockfilters@main/dynamic rules");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2521L, 2734L },
|
||||
column: "url",
|
||||
value: "https://raw.githubusercontent.com/Nomes77/AdBlockFilters/main/my filters");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2521L, 2810L },
|
||||
column: "url",
|
||||
value: "https://cdn.statically.io/gh/Nomes77/AdBlockfilters/main/my filters");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2521L, 2811L },
|
||||
column: "url",
|
||||
value: "https://cdn.jsdelivr.net/gh/Nomes77/AdBlockfilters@main/my filters");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2520L,
|
||||
columns: new[] { "home_url", "issues_url" },
|
||||
values: new object[] { "https://github.com/Nomes77/AdBlockFilters/", "https://github.com/Nomes77/AdBlockFilters/issues" });
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2521L,
|
||||
columns: new[] { "home_url", "issues_url" },
|
||||
values: new object[] { "https://github.com/Nomes77/AdBlockFilters/", "https://github.com/Nomes77/AdBlockFilters/issues" });
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "maintainers",
|
||||
keyColumn: "id",
|
||||
keyValue: 162L,
|
||||
columns: new[] { "name", "url" },
|
||||
values: new object[] { "Nomes77", "https://github.com/Nomes77/" });
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2471L, 2804L },
|
||||
column: "url",
|
||||
value: "https://raw.githubusercontent.com/BPower0036/AdBlockFilters/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://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[] { 2471L, 2806L },
|
||||
column: "url",
|
||||
value: "https://cdn.statically.io/gh/BPower0036/AdBlockFilters/main/EasyDutch.all.txt");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2471L, 2807L },
|
||||
column: "url",
|
||||
value: "https://cdn.jsdelivr.net/gh/BPower0036/AdBlockFilters@main/EasyDutch.all.txt");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2520L, 2733L },
|
||||
column: "url",
|
||||
value: "https://raw.githubusercontent.com/BPower0036/AdBlockFilters/main/dynamic rules");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2520L, 2808L },
|
||||
column: "url",
|
||||
value: "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[] { 2520L, 2809L },
|
||||
column: "url",
|
||||
value: "https://cdn.jsdelivr.net/gh/BPower0036/AdBlockfilters@main/dynamic rules");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2521L, 2734L },
|
||||
column: "url",
|
||||
value: "https://raw.githubusercontent.com/BPower0036/AdBlockFilters/main/my filters");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2521L, 2810L },
|
||||
column: "url",
|
||||
value: "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 },
|
||||
column: "url",
|
||||
value: "https://cdn.jsdelivr.net/gh/BPower0036/AdBlockfilters@main/my filters");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2520L,
|
||||
columns: new[] { "home_url", "issues_url" },
|
||||
values: new object[] { "https://github.com/BPower0036/AdBlockFilters/", "https://github.com/BPower0036/AdBlockFilters/issues" });
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2521L,
|
||||
columns: new[] { "home_url", "issues_url" },
|
||||
values: new object[] { "https://github.com/BPower0036/AdBlockFilters/", "https://github.com/BPower0036/AdBlockFilters/issues" });
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "maintainers",
|
||||
keyColumn: "id",
|
||||
keyValue: 162L,
|
||||
columns: new[] { "name", "url" },
|
||||
values: new object[] { "BPower0036", "https://github.com/BPower0036/" });
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -20483,9 +20483,9 @@ protected override void BuildModel(ModelBuilder modelBuilder)
|
|||
Id = 2520L,
|
||||
Description = "Medium mode for uBlock Origin when blocking 3p-frames and 3p-scripts",
|
||||
DonateUrl = "https://www.paypal.com/donate/?hosted_button_id=NRARDMBBMV3LC",
|
||||
HomeUrl = "https://github.com/BPower0036/AdBlockFilters/",
|
||||
HomeUrl = "https://github.com/Nomes77/AdBlockFilters/",
|
||||
IsApproved = true,
|
||||
IssuesUrl = "https://github.com/BPower0036/AdBlockFilters/issues",
|
||||
IssuesUrl = "https://github.com/Nomes77/AdBlockFilters/issues",
|
||||
LicenseId = 4L,
|
||||
Name = "Dynamic rules for uBo's medium mode"
|
||||
},
|
||||
|
|
@ -20494,9 +20494,9 @@ protected override void BuildModel(ModelBuilder modelBuilder)
|
|||
Id = 2521L,
|
||||
Description = "Personal filter list (My filters)",
|
||||
DonateUrl = "https://www.paypal.com/donate/?hosted_button_id=NRARDMBBMV3LC",
|
||||
HomeUrl = "https://github.com/BPower0036/AdBlockFilters/",
|
||||
HomeUrl = "https://github.com/Nomes77/AdBlockFilters/",
|
||||
IsApproved = true,
|
||||
IssuesUrl = "https://github.com/BPower0036/AdBlockFilters/issues",
|
||||
IssuesUrl = "https://github.com/Nomes77/AdBlockFilters/issues",
|
||||
LicenseId = 4L,
|
||||
Name = "Personal filter list (My filters) (uBo)"
|
||||
},
|
||||
|
|
@ -63338,8 +63338,8 @@ protected override void BuildModel(ModelBuilder modelBuilder)
|
|||
Id = 162L,
|
||||
EmailAddress = "easydutch.adblock@gmail.com",
|
||||
IsApproved = true,
|
||||
Name = "BPower0036",
|
||||
Url = "https://github.com/BPower0036/"
|
||||
Name = "Nomes77",
|
||||
Url = "https://github.com/Nomes77/"
|
||||
},
|
||||
new
|
||||
{
|
||||
|
|
@ -86060,7 +86060,7 @@ protected override void BuildModel(ModelBuilder modelBuilder)
|
|||
Id = 2733L,
|
||||
Primariness = (short)1,
|
||||
SegmentNumber = (short)0,
|
||||
Url = "https://raw.githubusercontent.com/BPower0036/AdBlockFilters/main/dynamic rules"
|
||||
Url = "https://raw.githubusercontent.com/Nomes77/AdBlockFilters/main/dynamic rules"
|
||||
},
|
||||
new
|
||||
{
|
||||
|
|
@ -86068,7 +86068,7 @@ protected override void BuildModel(ModelBuilder modelBuilder)
|
|||
Id = 2734L,
|
||||
Primariness = (short)1,
|
||||
SegmentNumber = (short)0,
|
||||
Url = "https://raw.githubusercontent.com/BPower0036/AdBlockFilters/main/my filters"
|
||||
Url = "https://raw.githubusercontent.com/Nomes77/AdBlockFilters/main/my filters"
|
||||
},
|
||||
new
|
||||
{
|
||||
|
|
@ -86612,7 +86612,7 @@ protected override void BuildModel(ModelBuilder modelBuilder)
|
|||
Id = 2804L,
|
||||
Primariness = (short)9,
|
||||
SegmentNumber = (short)0,
|
||||
Url = "https://raw.githubusercontent.com/BPower0036/AdBlockFilters/main/EasyDutch.txt"
|
||||
Url = "https://raw.githubusercontent.com/Nomes77/AdBlockFilters/main/EasyDutch.txt"
|
||||
},
|
||||
new
|
||||
{
|
||||
|
|
@ -86620,7 +86620,7 @@ protected override void BuildModel(ModelBuilder modelBuilder)
|
|||
Id = 2805L,
|
||||
Primariness = (short)10,
|
||||
SegmentNumber = (short)0,
|
||||
Url = "https://raw.githubusercontent.com/BPower0036/AdBlockFilters/main/EasyDutch.all.txt"
|
||||
Url = "https://raw.githubusercontent.com/Nomes77/AdBlockFilters/main/EasyDutch.all.txt"
|
||||
},
|
||||
new
|
||||
{
|
||||
|
|
@ -86628,7 +86628,7 @@ protected override void BuildModel(ModelBuilder modelBuilder)
|
|||
Id = 2806L,
|
||||
Primariness = (short)11,
|
||||
SegmentNumber = (short)0,
|
||||
Url = "https://cdn.statically.io/gh/BPower0036/AdBlockFilters/main/EasyDutch.all.txt"
|
||||
Url = "https://cdn.statically.io/gh/Nomes77/AdBlockFilters/main/EasyDutch.all.txt"
|
||||
},
|
||||
new
|
||||
{
|
||||
|
|
@ -86636,7 +86636,7 @@ protected override void BuildModel(ModelBuilder modelBuilder)
|
|||
Id = 2807L,
|
||||
Primariness = (short)12,
|
||||
SegmentNumber = (short)0,
|
||||
Url = "https://cdn.jsdelivr.net/gh/BPower0036/AdBlockFilters@main/EasyDutch.all.txt"
|
||||
Url = "https://cdn.jsdelivr.net/gh/Nomes77/AdBlockFilters@main/EasyDutch.all.txt"
|
||||
},
|
||||
new
|
||||
{
|
||||
|
|
@ -86644,7 +86644,7 @@ protected override void BuildModel(ModelBuilder modelBuilder)
|
|||
Id = 2808L,
|
||||
Primariness = (short)2,
|
||||
SegmentNumber = (short)0,
|
||||
Url = "https://cdn.statically.io/gh/BPower0036/AdBlockfilters/main/dynamic rules"
|
||||
Url = "https://cdn.statically.io/gh/Nomes77/AdBlockfilters/main/dynamic rules"
|
||||
},
|
||||
new
|
||||
{
|
||||
|
|
@ -86652,7 +86652,7 @@ protected override void BuildModel(ModelBuilder modelBuilder)
|
|||
Id = 2809L,
|
||||
Primariness = (short)3,
|
||||
SegmentNumber = (short)0,
|
||||
Url = "https://cdn.jsdelivr.net/gh/BPower0036/AdBlockfilters@main/dynamic rules"
|
||||
Url = "https://cdn.jsdelivr.net/gh/Nomes77/AdBlockfilters@main/dynamic rules"
|
||||
},
|
||||
new
|
||||
{
|
||||
|
|
@ -86660,7 +86660,7 @@ protected override void BuildModel(ModelBuilder modelBuilder)
|
|||
Id = 2810L,
|
||||
Primariness = (short)2,
|
||||
SegmentNumber = (short)0,
|
||||
Url = "https://cdn.statically.io/gh/BPower0036/AdBlockfilters/main/my filters"
|
||||
Url = "https://cdn.statically.io/gh/Nomes77/AdBlockfilters/main/my filters"
|
||||
},
|
||||
new
|
||||
{
|
||||
|
|
@ -86668,7 +86668,7 @@ protected override void BuildModel(ModelBuilder modelBuilder)
|
|||
Id = 2811L,
|
||||
Primariness = (short)3,
|
||||
SegmentNumber = (short)0,
|
||||
Url = "https://cdn.jsdelivr.net/gh/BPower0036/AdBlockfilters@main/my filters"
|
||||
Url = "https://cdn.jsdelivr.net/gh/Nomes77/AdBlockfilters@main/my filters"
|
||||
},
|
||||
new
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue