mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
feat(data): migrate PR #4264
This commit is contained in:
parent
ea7841c092
commit
a733f0985e
3 changed files with 88455 additions and 6 deletions
88347
services/Directory/FilterLists.Directory.Infrastructure.Migrations/Migrations/20240429075309_4264.Designer.cs
generated
Normal file
88347
services/Directory/FilterLists.Directory.Infrastructure.Migrations/Migrations/20240429075309_4264.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -0,0 +1,102 @@
|
|||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace FilterLists.Directory.Infrastructure.Migrations.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class _4264 : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 430L, 558L },
|
||||
column: "url",
|
||||
value: "https://raw.githubusercontent.com/DandelionSprout/adfilt/master/NorwegianExperimentalList alternate versions/NordicHosts.txt");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 430L, 559L },
|
||||
column: "url",
|
||||
value: "https://gitlab.com/DandelionSprout/adfilt/raw/master/NorwegianExperimentalList alternate versions/NordicHosts.txt");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 1564L, 1566L },
|
||||
column: "url",
|
||||
value: "https://raw.githubusercontent.com/DandelionSprout/adfilt/master/AntiCelebBirthList.txt");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 1564L, 1567L },
|
||||
column: "url",
|
||||
value: "https://gitlab.com/DandelionSprout/adfilt/raw/master/AntiCelebBirthList.txt");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2533L, 2746L },
|
||||
column: "url",
|
||||
value: "https://raw.githubusercontent.com/DandelionSprout/adfilt/master/Sensitive lists/AntiOWDList.txt");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2533L, 2747L },
|
||||
column: "url",
|
||||
value: "https://gitlab.com/DandelionSprout/adfilt/-/raw/master/Sensitive lists/AntiOWDList.txt");
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 430L, 558L },
|
||||
column: "url",
|
||||
value: "https://raw.githubusercontent.com/DandelionSprout/adfilt/master/NorwegianExperimentalList alternate versions/AdawayHosts");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 430L, 559L },
|
||||
column: "url",
|
||||
value: "https://gitlab.com/DandelionSprout/adfilt/raw/master/NorwegianExperimentalList alternate versions/AdawayHosts");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 1564L, 1566L },
|
||||
column: "url",
|
||||
value: "https://raw.githubusercontent.com/DandelionSprout/adfilt/master/AntiCelebBirthList");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 1564L, 1567L },
|
||||
column: "url",
|
||||
value: "https://gitlab.com/DandelionSprout/adfilt/raw/master/AntiCelebBirthList");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2533L, 2746L },
|
||||
column: "url",
|
||||
value: "https://raw.githubusercontent.com/DandelionSprout/adfilt/master/AntiOwlHouseList.txt");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2533L, 2747L },
|
||||
column: "url",
|
||||
value: "https://gitlab.com/DandelionSprout/adfilt/-/raw/master/AntiOwlHouseList.txt");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -70834,7 +70834,7 @@ protected override void BuildModel(ModelBuilder modelBuilder)
|
|||
Id = 558L,
|
||||
Primariness = (short)1,
|
||||
SegmentNumber = (short)0,
|
||||
Url = "https://raw.githubusercontent.com/DandelionSprout/adfilt/master/NorwegianExperimentalList alternate versions/AdawayHosts"
|
||||
Url = "https://raw.githubusercontent.com/DandelionSprout/adfilt/master/NorwegianExperimentalList alternate versions/NordicHosts.txt"
|
||||
},
|
||||
new
|
||||
{
|
||||
|
|
@ -70842,7 +70842,7 @@ protected override void BuildModel(ModelBuilder modelBuilder)
|
|||
Id = 559L,
|
||||
Primariness = (short)2,
|
||||
SegmentNumber = (short)0,
|
||||
Url = "https://gitlab.com/DandelionSprout/adfilt/raw/master/NorwegianExperimentalList alternate versions/AdawayHosts"
|
||||
Url = "https://gitlab.com/DandelionSprout/adfilt/raw/master/NorwegianExperimentalList alternate versions/NordicHosts.txt"
|
||||
},
|
||||
new
|
||||
{
|
||||
|
|
@ -78338,7 +78338,7 @@ protected override void BuildModel(ModelBuilder modelBuilder)
|
|||
Id = 1566L,
|
||||
Primariness = (short)1,
|
||||
SegmentNumber = (short)0,
|
||||
Url = "https://raw.githubusercontent.com/DandelionSprout/adfilt/master/AntiCelebBirthList"
|
||||
Url = "https://raw.githubusercontent.com/DandelionSprout/adfilt/master/AntiCelebBirthList.txt"
|
||||
},
|
||||
new
|
||||
{
|
||||
|
|
@ -78346,7 +78346,7 @@ protected override void BuildModel(ModelBuilder modelBuilder)
|
|||
Id = 1567L,
|
||||
Primariness = (short)2,
|
||||
SegmentNumber = (short)0,
|
||||
Url = "https://gitlab.com/DandelionSprout/adfilt/raw/master/AntiCelebBirthList"
|
||||
Url = "https://gitlab.com/DandelionSprout/adfilt/raw/master/AntiCelebBirthList.txt"
|
||||
},
|
||||
new
|
||||
{
|
||||
|
|
@ -86570,7 +86570,7 @@ protected override void BuildModel(ModelBuilder modelBuilder)
|
|||
Id = 2746L,
|
||||
Primariness = (short)1,
|
||||
SegmentNumber = (short)0,
|
||||
Url = "https://raw.githubusercontent.com/DandelionSprout/adfilt/master/AntiOwlHouseList.txt"
|
||||
Url = "https://raw.githubusercontent.com/DandelionSprout/adfilt/master/Sensitive lists/AntiOWDList.txt"
|
||||
},
|
||||
new
|
||||
{
|
||||
|
|
@ -86578,7 +86578,7 @@ protected override void BuildModel(ModelBuilder modelBuilder)
|
|||
Id = 2747L,
|
||||
Primariness = (short)2,
|
||||
SegmentNumber = (short)0,
|
||||
Url = "https://gitlab.com/DandelionSprout/adfilt/-/raw/master/AntiOwlHouseList.txt"
|
||||
Url = "https://gitlab.com/DandelionSprout/adfilt/-/raw/master/Sensitive lists/AntiOWDList.txt"
|
||||
},
|
||||
new
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue