mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
feat(data): migrate PR #2859
This commit is contained in:
parent
5422a584c8
commit
9e784fb190
3 changed files with 87751 additions and 5 deletions
87689
services/Directory/FilterLists.Directory.Infrastructure.Migrations/Migrations/20220329112457_2859.Designer.cs
generated
Normal file
87689
services/Directory/FilterLists.Directory.Infrastructure.Migrations/Migrations/20220329112457_2859.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -0,0 +1,57 @@
|
|||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace FilterLists.Directory.Infrastructure.Migrations.Migrations
|
||||
{
|
||||
public partial class _2859 : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2471L,
|
||||
columns: new[] { "donate_url", "home_url", "issues_url" },
|
||||
values: new object[] { "https://www.paypal.com/donate/?hosted_button_id=NRARDMBBMV3LC", "https://github.com/EasyDutch-uBO/EasyDutch/", "https://github.com/EasyDutch-uBO/EasyDutch/issues" });
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2520L,
|
||||
column: "donate_url",
|
||||
value: "https://www.paypal.com/donate/?hosted_button_id=NRARDMBBMV3LC");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2521L,
|
||||
column: "donate_url",
|
||||
value: "https://www.paypal.com/donate/?hosted_button_id=NRARDMBBMV3LC");
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2471L,
|
||||
columns: new[] { "donate_url", "home_url", "issues_url" },
|
||||
values: new object[] { "https://www.paypal.com/donate?hosted_button_id=M4D2NPZX5NS4C", "https://github.com/BPower0036/AdBlockFilters/", "https://github.com/BPower0036/AdBlockFilters/issues" });
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2520L,
|
||||
column: "donate_url",
|
||||
value: "https://www.paypal.com/donate?hosted_button_id=M4D2NPZX5NS4C");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2521L,
|
||||
column: "donate_url",
|
||||
value: "https://www.paypal.com/donate?hosted_button_id=M4D2NPZX5NS4C");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -20846,10 +20846,10 @@ protected override void BuildModel(ModelBuilder modelBuilder)
|
|||
{
|
||||
Id = 2471L,
|
||||
Description = "Dutch supplement for the Easylist filters to use with uBlock Origin",
|
||||
DonateUrl = "https://www.paypal.com/donate?hosted_button_id=M4D2NPZX5NS4C",
|
||||
HomeUrl = "https://github.com/BPower0036/AdBlockFilters/",
|
||||
DonateUrl = "https://www.paypal.com/donate/?hosted_button_id=NRARDMBBMV3LC",
|
||||
HomeUrl = "https://github.com/EasyDutch-uBO/EasyDutch/",
|
||||
IsApproved = true,
|
||||
IssuesUrl = "https://github.com/BPower0036/AdBlockFilters/issues",
|
||||
IssuesUrl = "https://github.com/EasyDutch-uBO/EasyDutch/issues",
|
||||
LicenseId = 4L,
|
||||
Name = "EasyDutch"
|
||||
},
|
||||
|
|
@ -21331,7 +21331,7 @@ 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=M4D2NPZX5NS4C",
|
||||
DonateUrl = "https://www.paypal.com/donate/?hosted_button_id=NRARDMBBMV3LC",
|
||||
HomeUrl = "https://github.com/BPower0036/AdBlockFilters/",
|
||||
IsApproved = true,
|
||||
IssuesUrl = "https://github.com/BPower0036/AdBlockFilters/issues",
|
||||
|
|
@ -21342,7 +21342,7 @@ protected override void BuildModel(ModelBuilder modelBuilder)
|
|||
{
|
||||
Id = 2521L,
|
||||
Description = "Personal filter list (My filters)",
|
||||
DonateUrl = "https://www.paypal.com/donate?hosted_button_id=M4D2NPZX5NS4C",
|
||||
DonateUrl = "https://www.paypal.com/donate/?hosted_button_id=NRARDMBBMV3LC",
|
||||
HomeUrl = "https://github.com/BPower0036/AdBlockFilters/",
|
||||
IsApproved = true,
|
||||
IssuesUrl = "https://github.com/BPower0036/AdBlockFilters/issues",
|
||||
|
|
|
|||
Loading…
Reference in a new issue