mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
feat(data): migrate PR #2700
This commit is contained in:
parent
b5702ef7ad
commit
d3baec9326
3 changed files with 87953 additions and 0 deletions
87735
services/Directory/FilterLists.Directory.Infrastructure.Migrations/Migrations/20211203090537_2700.Designer.cs
generated
Normal file
87735
services/Directory/FilterLists.Directory.Infrastructure.Migrations/Migrations/20211203090537_2700.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -0,0 +1,106 @@
|
|||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace FilterLists.Directory.Infrastructure.Migrations.Migrations
|
||||
{
|
||||
public partial class _2700 : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_list_view_urls",
|
||||
columns: new[] { "id", "filter_list_id", "primariness", "url" },
|
||||
values: new object[,]
|
||||
{
|
||||
{ 2798L, 2471L, (short)3, "https://combinatronics.io/BPower0036/AdBlockFilters/main/easydutch.txt" },
|
||||
{ 2799L, 2471L, (short)4, "https://cdn.statically.io/gh/BPower0036/AdBlockFilters/main/easydutch.txt" },
|
||||
{ 2800L, 2471L, (short)5, "https://cdn.statically.io/gl/BPower0036/AdBlockFilters/main/easydutch.txt" },
|
||||
{ 2801L, 2471L, (short)6, "https://cdn.jsdelivr.net/gh/BPower0036/AdBlockFilters@main/easydutch.txt" },
|
||||
{ 2802L, 2520L, (short)2, "https://gitlab.com/BPower0036/AdBlockFilters/-/raw/main/dynamic rules" },
|
||||
{ 2803L, 2520L, (short)3, "https://combinatronics.io/BPower0036/AdBlockfilters/main/dynamic rules" },
|
||||
{ 2804L, 2520L, (short)4, "https://cdn.statically.io/gh/BPower0036/AdBlockfilters/main/dynamic rules" },
|
||||
{ 2805L, 2520L, (short)5, "https://cdn.statically.io/gl/BPower0036/AdBlockFilters/main/dynamic rules" },
|
||||
{ 2806L, 2520L, (short)6, "https://cdn.jsdelivr.net/gh/BPower0036/AdBlockfilters@main/dynamic rules" },
|
||||
{ 2807L, 2521L, (short)2, "https://gitlab.com/BPower0036/AdBlockFilters/-/raw/main/my filters" },
|
||||
{ 2808L, 2521L, (short)3, "https://combinatronics.io/BPower0036/AdBlockfilters/main/my filters" },
|
||||
{ 2809L, 2521L, (short)4, "https://cdn.statically.io/gh/BPower0036/AdBlockfilters/main/my filters" },
|
||||
{ 2810L, 2521L, (short)5, "https://cdn.statically.io/gl/BPower0036/AdBlockFilters/main/my filters" },
|
||||
{ 2811L, 2521L, (short)6, "https://cdn.jsdelivr.net/gh/BPower0036/AdBlockfilters@main/my filters" }
|
||||
});
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumn: "id",
|
||||
keyValue: 2798L);
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumn: "id",
|
||||
keyValue: 2799L);
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumn: "id",
|
||||
keyValue: 2800L);
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumn: "id",
|
||||
keyValue: 2801L);
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumn: "id",
|
||||
keyValue: 2802L);
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumn: "id",
|
||||
keyValue: 2803L);
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumn: "id",
|
||||
keyValue: 2804L);
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumn: "id",
|
||||
keyValue: 2805L);
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumn: "id",
|
||||
keyValue: 2806L);
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumn: "id",
|
||||
keyValue: 2807L);
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumn: "id",
|
||||
keyValue: 2808L);
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumn: "id",
|
||||
keyValue: 2809L);
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumn: "id",
|
||||
keyValue: 2810L);
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumn: "id",
|
||||
keyValue: 2811L);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -81715,6 +81715,118 @@ protected override void BuildModel(ModelBuilder modelBuilder)
|
|||
Primariness = (short)5,
|
||||
SegmentNumber = (short)0,
|
||||
Url = "https://filtersheroes.gitlab.io/AssetsMirror/euCDB.txt"
|
||||
},
|
||||
new
|
||||
{
|
||||
Id = 2798L,
|
||||
FilterListId = 2471L,
|
||||
Primariness = (short)3,
|
||||
SegmentNumber = (short)0,
|
||||
Url = "https://combinatronics.io/BPower0036/AdBlockFilters/main/easydutch.txt"
|
||||
},
|
||||
new
|
||||
{
|
||||
Id = 2799L,
|
||||
FilterListId = 2471L,
|
||||
Primariness = (short)4,
|
||||
SegmentNumber = (short)0,
|
||||
Url = "https://cdn.statically.io/gh/BPower0036/AdBlockFilters/main/easydutch.txt"
|
||||
},
|
||||
new
|
||||
{
|
||||
Id = 2800L,
|
||||
FilterListId = 2471L,
|
||||
Primariness = (short)5,
|
||||
SegmentNumber = (short)0,
|
||||
Url = "https://cdn.statically.io/gl/BPower0036/AdBlockFilters/main/easydutch.txt"
|
||||
},
|
||||
new
|
||||
{
|
||||
Id = 2801L,
|
||||
FilterListId = 2471L,
|
||||
Primariness = (short)6,
|
||||
SegmentNumber = (short)0,
|
||||
Url = "https://cdn.jsdelivr.net/gh/BPower0036/AdBlockFilters@main/easydutch.txt"
|
||||
},
|
||||
new
|
||||
{
|
||||
Id = 2802L,
|
||||
FilterListId = 2520L,
|
||||
Primariness = (short)2,
|
||||
SegmentNumber = (short)0,
|
||||
Url = "https://gitlab.com/BPower0036/AdBlockFilters/-/raw/main/dynamic rules"
|
||||
},
|
||||
new
|
||||
{
|
||||
Id = 2803L,
|
||||
FilterListId = 2520L,
|
||||
Primariness = (short)3,
|
||||
SegmentNumber = (short)0,
|
||||
Url = "https://combinatronics.io/BPower0036/AdBlockfilters/main/dynamic rules"
|
||||
},
|
||||
new
|
||||
{
|
||||
Id = 2804L,
|
||||
FilterListId = 2520L,
|
||||
Primariness = (short)4,
|
||||
SegmentNumber = (short)0,
|
||||
Url = "https://cdn.statically.io/gh/BPower0036/AdBlockfilters/main/dynamic rules"
|
||||
},
|
||||
new
|
||||
{
|
||||
Id = 2805L,
|
||||
FilterListId = 2520L,
|
||||
Primariness = (short)5,
|
||||
SegmentNumber = (short)0,
|
||||
Url = "https://cdn.statically.io/gl/BPower0036/AdBlockFilters/main/dynamic rules"
|
||||
},
|
||||
new
|
||||
{
|
||||
Id = 2806L,
|
||||
FilterListId = 2520L,
|
||||
Primariness = (short)6,
|
||||
SegmentNumber = (short)0,
|
||||
Url = "https://cdn.jsdelivr.net/gh/BPower0036/AdBlockfilters@main/dynamic rules"
|
||||
},
|
||||
new
|
||||
{
|
||||
Id = 2807L,
|
||||
FilterListId = 2521L,
|
||||
Primariness = (short)2,
|
||||
SegmentNumber = (short)0,
|
||||
Url = "https://gitlab.com/BPower0036/AdBlockFilters/-/raw/main/my filters"
|
||||
},
|
||||
new
|
||||
{
|
||||
Id = 2808L,
|
||||
FilterListId = 2521L,
|
||||
Primariness = (short)3,
|
||||
SegmentNumber = (short)0,
|
||||
Url = "https://combinatronics.io/BPower0036/AdBlockfilters/main/my filters"
|
||||
},
|
||||
new
|
||||
{
|
||||
Id = 2809L,
|
||||
FilterListId = 2521L,
|
||||
Primariness = (short)4,
|
||||
SegmentNumber = (short)0,
|
||||
Url = "https://cdn.statically.io/gh/BPower0036/AdBlockfilters/main/my filters"
|
||||
},
|
||||
new
|
||||
{
|
||||
Id = 2810L,
|
||||
FilterListId = 2521L,
|
||||
Primariness = (short)5,
|
||||
SegmentNumber = (short)0,
|
||||
Url = "https://cdn.statically.io/gl/BPower0036/AdBlockFilters/main/my filters"
|
||||
},
|
||||
new
|
||||
{
|
||||
Id = 2811L,
|
||||
FilterListId = 2521L,
|
||||
Primariness = (short)6,
|
||||
SegmentNumber = (short)0,
|
||||
Url = "https://cdn.jsdelivr.net/gh/BPower0036/AdBlockfilters@main/my filters"
|
||||
});
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue