mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
feat(data): migrate PR #2901
This commit is contained in:
parent
699037265b
commit
5c49fb2786
3 changed files with 88366 additions and 2 deletions
88321
services/Directory/FilterLists.Directory.Infrastructure.Migrations/Migrations/20220415171735_2901.Designer.cs
generated
Normal file
88321
services/Directory/FilterLists.Directory.Infrastructure.Migrations/Migrations/20220415171735_2901.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -0,0 +1,43 @@
|
|||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace FilterLists.Directory.Infrastructure.Migrations.Migrations
|
||||
{
|
||||
public partial class _2901 : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2100L, 2206L },
|
||||
column: "url",
|
||||
value: "https://raw.githubusercontent.com/Kees1958/W3C_annual_most_used_survey_blocklist/master/EU_US%2Bmost_used_ad_and_tracking_networks");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2100L,
|
||||
column: "name",
|
||||
value: "EU US most prevalent ads & trackers ABP format for uBlockOrigin and Adguard.");
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2100L, 2206L },
|
||||
column: "url",
|
||||
value: "https://raw.githubusercontent.com/Kees1958/WS3_annual_most_used_survey_blocklist/master/Top500");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2100L,
|
||||
column: "name",
|
||||
value: "Small but effective adblockplus format blocklist based on the (annal) W3tech and Cookiebot surveys - Top 500");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -17309,7 +17309,7 @@ protected override void BuildModel(ModelBuilder modelBuilder)
|
|||
IsApproved = true,
|
||||
IssuesUrl = "https://github.com/Kees1958/WS3_annual_most_used_survey_blocklist/issues",
|
||||
LicenseId = 5L,
|
||||
Name = "Small but effective adblockplus format blocklist based on the (annal) W3tech and Cookiebot surveys - Top 500"
|
||||
Name = "EU US most prevalent ads & trackers ABP format for uBlockOrigin and Adguard."
|
||||
},
|
||||
new
|
||||
{
|
||||
|
|
@ -83361,7 +83361,7 @@ protected override void BuildModel(ModelBuilder modelBuilder)
|
|||
Id = 2206L,
|
||||
Primariness = (short)1,
|
||||
SegmentNumber = (short)0,
|
||||
Url = "https://raw.githubusercontent.com/Kees1958/WS3_annual_most_used_survey_blocklist/master/Top500"
|
||||
Url = "https://raw.githubusercontent.com/Kees1958/W3C_annual_most_used_survey_blocklist/master/EU_US%2Bmost_used_ad_and_tracking_networks"
|
||||
},
|
||||
new
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue