feat(data): migrate PR #2358

This commit is contained in:
Azure Pipelines EF Migration Bot 2021-05-03 16:28:41 +00:00 committed by Collin M. Barrett
parent 6d32592539
commit b670015986
3 changed files with 85023 additions and 0 deletions

View file

@ -0,0 +1,23 @@
using Microsoft.EntityFrameworkCore.Migrations;
namespace FilterLists.Directory.Infrastructure.Migrations.Migrations
{
public partial class _2358 : 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[] { 2496, null, "Personal Filters to remove World Wide Web Annoyances for a better experience.", null, null, null, "https://raw.githubusercontent.com/troysjanda/MyBlockLists/master/UBOXPI", null, 4, "XPI's Filter List", null, null, "https://github.com/troysjanda/MyBlockLists/issues" });
}
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.DeleteData(
table: "FilterLists",
keyColumn: "Id",
keyValue: 2496);
}
}
}

View file

@ -19594,6 +19594,15 @@ protected override void BuildModel(ModelBuilder modelBuilder)
IssuesUrl = "https://gitlab.com/curben/phishing-filter/issues",
LicenseId = 8,
Name = "phishing-filter (Suricata)"
},
new
{
Id = 2496,
Description = "Personal Filters to remove World Wide Web Annoyances for a better experience.",
HomeUrl = "https://raw.githubusercontent.com/troysjanda/MyBlockLists/master/UBOXPI",
LicenseId = 4,
Name = "XPI's Filter List",
SubmissionUrl = "https://github.com/troysjanda/MyBlockLists/issues"
});
});