mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
feat(data): migrate PR #2873
This commit is contained in:
parent
48551cf3da
commit
25a21cd6a5
3 changed files with 87847 additions and 9 deletions
87771
services/Directory/FilterLists.Directory.Infrastructure.Migrations/Migrations/20220408114254_2873.Designer.cs
generated
Normal file
87771
services/Directory/FilterLists.Directory.Infrastructure.Migrations/Migrations/20220408114254_2873.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -0,0 +1,71 @@
|
|||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace FilterLists.Directory.Infrastructure.Migrations.Migrations
|
||||
{
|
||||
public partial class _2873 : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 268L,
|
||||
columns: new[] { "forum_url", "home_url" },
|
||||
values: new object[] { null, "https://github.com/cjx82630/cjxlist/" });
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 281L,
|
||||
columns: new[] { "forum_url", "home_url" },
|
||||
values: new object[] { null, "https://github.com/cjx82630/cjxlist/" });
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 300L,
|
||||
columns: new[] { "forum_url", "home_url", "issues_url" },
|
||||
values: new object[] { null, "https://github.com/easylist/easylistchina", "https://github.com/easylist/easylistchina/issues" });
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2111L,
|
||||
columns: new[] { "forum_url", "home_url" },
|
||||
values: new object[] { null, "https://github.com/cjx82630/cjxlist" });
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 268L,
|
||||
columns: new[] { "forum_url", "home_url" },
|
||||
values: new object[] { "https://abpchina.org/forum/forum.php", "https://abpchina.org/forum/forum.php?mod=viewthread&tid=29667" });
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 281L,
|
||||
columns: new[] { "forum_url", "home_url" },
|
||||
values: new object[] { "https://abpchina.org/forum/forum.php", "https://abpchina.org/forum/forum.php?mod=viewthread&tid=29667" });
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 300L,
|
||||
columns: new[] { "forum_url", "home_url", "issues_url" },
|
||||
values: new object[] { "https://abpchina.org/forum/forum.php", "https://abpchina.org/forum/forum.php?mod=viewthread&tid=29667", "https://github.com/easylist/easylistchina" });
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2111L,
|
||||
columns: new[] { "forum_url", "home_url" },
|
||||
values: new object[] { "https://abpchina.org/forum/forum.php", "https://abpchina.org/forum/forum.php?mod=viewthread&tid=29667" });
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -2382,8 +2382,7 @@ protected override void BuildModel(ModelBuilder modelBuilder)
|
|||
Id = 268L,
|
||||
Description = "This is a lite version of EasyList. Only for Simplified Chinese language websites.",
|
||||
EmailAddress = "cjxlist@gmail.com",
|
||||
ForumUrl = "https://abpchina.org/forum/forum.php",
|
||||
HomeUrl = "https://abpchina.org/forum/forum.php?mod=viewthread&tid=29667",
|
||||
HomeUrl = "https://github.com/cjx82630/cjxlist/",
|
||||
IsApproved = true,
|
||||
IssuesUrl = "https://github.com/cjx82630/cjxlist/issues",
|
||||
LicenseId = 34L,
|
||||
|
|
@ -2480,8 +2479,7 @@ protected override void BuildModel(ModelBuilder modelBuilder)
|
|||
Id = 281L,
|
||||
Description = "Removes annoyances, self-promotion and privacy protection on Chinese websites.",
|
||||
EmailAddress = "cjxlist@gmail.com",
|
||||
ForumUrl = "https://abpchina.org/forum/forum.php",
|
||||
HomeUrl = "https://abpchina.org/forum/forum.php?mod=viewthread&tid=29667",
|
||||
HomeUrl = "https://github.com/cjx82630/cjxlist/",
|
||||
IsApproved = true,
|
||||
IssuesUrl = "https://github.com/cjx82630/cjxlist/issues",
|
||||
LicenseId = 34L,
|
||||
|
|
@ -2639,10 +2637,9 @@ protected override void BuildModel(ModelBuilder modelBuilder)
|
|||
Id = 300L,
|
||||
Description = "Chinese supplement for the EasyList filters.",
|
||||
EmailAddress = "easylist.china@gmail.com",
|
||||
ForumUrl = "https://abpchina.org/forum/forum.php",
|
||||
HomeUrl = "https://abpchina.org/forum/forum.php?mod=viewthread&tid=29667",
|
||||
HomeUrl = "https://github.com/easylist/easylistchina",
|
||||
IsApproved = true,
|
||||
IssuesUrl = "https://github.com/easylist/easylistchina",
|
||||
IssuesUrl = "https://github.com/easylist/easylistchina/issues",
|
||||
LicenseId = 4L,
|
||||
Name = "EasyList China"
|
||||
},
|
||||
|
|
@ -17408,8 +17405,7 @@ protected override void BuildModel(ModelBuilder modelBuilder)
|
|||
Id = 2111L,
|
||||
Description = "Supplement for \"EasyList China+EasyList\" & \"EasyPrivacy\" & \"CJX's Annoyance List\". Removes Ads, Anti-adblock, Annoyances, Self-promotion & Privacy Protection on Chinese Websites",
|
||||
EmailAddress = "cjxlist@gmail.com",
|
||||
ForumUrl = "https://abpchina.org/forum/forum.php",
|
||||
HomeUrl = "https://abpchina.org/forum/forum.php?mod=viewthread&tid=29667",
|
||||
HomeUrl = "https://github.com/cjx82630/cjxlist",
|
||||
IsApproved = true,
|
||||
IssuesUrl = "https://github.com/cjx82630/cjxlist/issues",
|
||||
LicenseId = 34L,
|
||||
|
|
|
|||
Loading…
Reference in a new issue