mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
feat(data): migrate PR #2761
This commit is contained in:
parent
9c42606dfb
commit
7ece56f43c
3 changed files with 87548 additions and 6 deletions
87443
services/Directory/FilterLists.Directory.Infrastructure.Migrations/Migrations/20220114104716_2761.Designer.cs
generated
Normal file
87443
services/Directory/FilterLists.Directory.Infrastructure.Migrations/Migrations/20220114104716_2761.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -0,0 +1,99 @@
|
|||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace FilterLists.Directory.Infrastructure.Migrations.Migrations
|
||||
{
|
||||
public partial class _2761 : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2471L, 2679L },
|
||||
column: "url",
|
||||
value: "https://raw.githubusercontent.com/EasyDutch-uBO/EasyDutch/main/EasyDutch.txt");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2471L, 2732L },
|
||||
column: "url",
|
||||
value: "https://gitlab.com/BPower0036/EasyDutch/-/raw/main/EasyDutch.txt");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2471L, 2798L },
|
||||
column: "url",
|
||||
value: "https://combinatronics.io/EasyDutch-uBO/EasyDutch/main/EasyDutch.txt");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2471L, 2799L },
|
||||
column: "url",
|
||||
value: "https://cdn.statically.io/gh/EasyDutch-uBO/EasyDutch/main/EasyDutch.txt");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2471L, 2800L },
|
||||
column: "url",
|
||||
value: "https://cdn.statically.io/gl/BPower0036/EasyDutch/-/raw/main/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.jsdelivr.net/gh/EasyDutch-uBO/EasyDutch/@main/EasyDutch.txt");
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2471L, 2679L },
|
||||
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, 2732L },
|
||||
column: "url",
|
||||
value: "https://gitlab.com/BPower0036/AdBlockFilters/-/raw/main/easydutch.txt");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2471L, 2798L },
|
||||
column: "url",
|
||||
value: "https://combinatronics.io/BPower0036/AdBlockFilters/main/easydutch.txt");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2471L, 2799L },
|
||||
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[] { 2471L, 2800L },
|
||||
column: "url",
|
||||
value: "https://cdn.statically.io/gl/BPower0036/AdBlockFilters/main/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.jsdelivr.net/gh/BPower0036/AdBlockFilters@main/easydutch.txt");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -86147,7 +86147,7 @@ protected override void BuildModel(ModelBuilder modelBuilder)
|
|||
Id = 2679L,
|
||||
Primariness = (short)1,
|
||||
SegmentNumber = (short)0,
|
||||
Url = "https://raw.githubusercontent.com/BPower0036/AdBlockFilters/main/easydutch.txt"
|
||||
Url = "https://raw.githubusercontent.com/EasyDutch-uBO/EasyDutch/main/EasyDutch.txt"
|
||||
},
|
||||
new
|
||||
{
|
||||
|
|
@ -86563,7 +86563,7 @@ protected override void BuildModel(ModelBuilder modelBuilder)
|
|||
Id = 2732L,
|
||||
Primariness = (short)2,
|
||||
SegmentNumber = (short)0,
|
||||
Url = "https://gitlab.com/BPower0036/AdBlockFilters/-/raw/main/easydutch.txt"
|
||||
Url = "https://gitlab.com/BPower0036/EasyDutch/-/raw/main/EasyDutch.txt"
|
||||
},
|
||||
new
|
||||
{
|
||||
|
|
@ -87091,7 +87091,7 @@ protected override void BuildModel(ModelBuilder modelBuilder)
|
|||
Id = 2798L,
|
||||
Primariness = (short)3,
|
||||
SegmentNumber = (short)0,
|
||||
Url = "https://combinatronics.io/BPower0036/AdBlockFilters/main/easydutch.txt"
|
||||
Url = "https://combinatronics.io/EasyDutch-uBO/EasyDutch/main/EasyDutch.txt"
|
||||
},
|
||||
new
|
||||
{
|
||||
|
|
@ -87099,7 +87099,7 @@ protected override void BuildModel(ModelBuilder modelBuilder)
|
|||
Id = 2799L,
|
||||
Primariness = (short)4,
|
||||
SegmentNumber = (short)0,
|
||||
Url = "https://cdn.statically.io/gh/BPower0036/AdBlockFilters/main/easydutch.txt"
|
||||
Url = "https://cdn.statically.io/gh/EasyDutch-uBO/EasyDutch/main/EasyDutch.txt"
|
||||
},
|
||||
new
|
||||
{
|
||||
|
|
@ -87107,7 +87107,7 @@ protected override void BuildModel(ModelBuilder modelBuilder)
|
|||
Id = 2800L,
|
||||
Primariness = (short)5,
|
||||
SegmentNumber = (short)0,
|
||||
Url = "https://cdn.statically.io/gl/BPower0036/AdBlockFilters/main/easydutch.txt"
|
||||
Url = "https://cdn.statically.io/gl/BPower0036/EasyDutch/-/raw/main/EasyDutch.txt"
|
||||
},
|
||||
new
|
||||
{
|
||||
|
|
@ -87115,7 +87115,7 @@ protected override void BuildModel(ModelBuilder modelBuilder)
|
|||
Id = 2801L,
|
||||
Primariness = (short)6,
|
||||
SegmentNumber = (short)0,
|
||||
Url = "https://cdn.jsdelivr.net/gh/BPower0036/AdBlockFilters@main/easydutch.txt"
|
||||
Url = "https://cdn.jsdelivr.net/gh/EasyDutch-uBO/EasyDutch/@main/EasyDutch.txt"
|
||||
},
|
||||
new
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue