feat(data): migrate PR #2465

This commit is contained in:
Azure Pipelines EF Migration Bot 2021-10-21 21:15:08 +00:00 committed by Collin M. Barrett
parent bb4e74d294
commit 96457cfc9c
3 changed files with 84298 additions and 0 deletions

View file

@ -0,0 +1,23 @@
using Microsoft.EntityFrameworkCore.Migrations;
namespace FilterLists.Directory.Infrastructure.Migrations.Migrations
{
public partial class _2465 : Migration
{
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.InsertData(
table: "FilterLists",
columns: new[] { "Id", "ChatUrl", "Description", "DonateUrl", "EmailAddress", "ForumUrl", "HomeUrl", "IssuesUrl", "LicenseId", "Name", "OnionUrl", "PolicyUrl", "SubmissionUrl" },
values: new object[] { 2536, null, "Hosts file for blocking sites by known malware authors, including those browser-hijacking extensions, as well as those sketchy data-sucking no-name search engines that those companies work with. Also if you donate please ignore the fact that our deadname is on the page.", "https://paypal.me/ArcticCircleSystem", "ArcticCircleSystem@gmail.com", null, "https://github.com/Arctic-Circle-System/Sketchy-Extension-and-Search-List/", "https://github.com/Arctic-Circle-System/Sketchy-Extension-and-Search-List/issues/", null, "Extension-based Malware and Data-Sucking Search Engine hosts file", null, null, null });
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DeleteData(
table: "FilterLists",
keyColumn: "Id",
keyValue: 2536);
}
}
}

View file

@ -19375,6 +19375,16 @@ protected override void BuildModel(ModelBuilder modelBuilder)
HomeUrl = "https://github.com/hadig/Focus-for-Youtube",
IssuesUrl = "https://github.com/hadig/Focus-for-Youtube/issues",
Name = "Focus for Youtube"
},
new
{
Id = 2536,
Description = "Hosts file for blocking sites by known malware authors, including those browser-hijacking extensions, as well as those sketchy data-sucking no-name search engines that those companies work with. Also if you donate please ignore the fact that our deadname is on the page.",
DonateUrl = "https://paypal.me/ArcticCircleSystem",
EmailAddress = "ArcticCircleSystem@gmail.com",
HomeUrl = "https://github.com/Arctic-Circle-System/Sketchy-Extension-and-Search-List/",
IssuesUrl = "https://github.com/Arctic-Circle-System/Sketchy-Extension-and-Search-List/issues/",
Name = "Extension-based Malware and Data-Sucking Search Engine hosts file"
});
});