mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
feat(data): migrate PR #2358
This commit is contained in:
parent
6d32592539
commit
b670015986
3 changed files with 85023 additions and 0 deletions
84991
services/Directory/FilterLists.Directory.Infrastructure.Migrations/Migrations/20210503162839_2358.Designer.cs
generated
Normal file
84991
services/Directory/FilterLists.Directory.Infrastructure.Migrations/Migrations/20210503162839_2358.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -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);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -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"
|
||||
});
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue