mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
Mark Super Security Filter List as merge of source lists
Following feedback on PR, added merge relationships to indicate that Super Security Filter List (ID 2812) includes content from: - The Big List of Hacked Malware Web Sites (ID 692) - Phishing Domain Database (ID 1490) This properly reflects the fact that the list gets its rules from these upstream sources as discussed in the original issue. Co-authored-by: collinbarrett <6483057+collinbarrett@users.noreply.github.com>
This commit is contained in:
parent
f3262147d3
commit
dd51a5ba27
4 changed files with 90449 additions and 0 deletions
File diff suppressed because it is too large
Load diff
|
|
@ -0,0 +1,39 @@
|
|||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
#pragma warning disable CA1814 // Prefer jagged arrays over multidimensional
|
||||
|
||||
namespace FilterLists.Directory.Infrastructure.Migrations.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class AddSuperSecurityFilterListMerges : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.InsertData(
|
||||
table: "Merge",
|
||||
columns: new[] { "IncludedInFilterListId", "IncludesFilterListId" },
|
||||
values: new object[,]
|
||||
{
|
||||
{ 2812, 692 },
|
||||
{ 2812, 1490 }
|
||||
});
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DeleteData(
|
||||
table: "Merge",
|
||||
keyColumns: new[] { "IncludedInFilterListId", "IncludesFilterListId" },
|
||||
keyValues: new object[] { 2812, 692 });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "Merge",
|
||||
keyColumns: new[] { "IncludedInFilterListId", "IncludesFilterListId" },
|
||||
keyValues: new object[] { 2812, 1490 });
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -64720,6 +64720,16 @@ protected override void BuildModel(ModelBuilder modelBuilder)
|
|||
{
|
||||
IncludedInFilterListId = 2657,
|
||||
IncludesFilterListId = 2658
|
||||
},
|
||||
new
|
||||
{
|
||||
IncludedInFilterListId = 2812,
|
||||
IncludesFilterListId = 692
|
||||
},
|
||||
new
|
||||
{
|
||||
IncludedInFilterListId = 2812,
|
||||
IncludesFilterListId = 1490
|
||||
});
|
||||
});
|
||||
|
||||
|
|
|
|||
|
|
@ -262,5 +262,13 @@
|
|||
{
|
||||
"includedInFilterListId": 2657,
|
||||
"includesFilterListId": 2658
|
||||
},
|
||||
{
|
||||
"includedInFilterListId": 2812,
|
||||
"includesFilterListId": 692
|
||||
},
|
||||
{
|
||||
"includedInFilterListId": 2812,
|
||||
"includesFilterListId": 1490
|
||||
}
|
||||
]
|
||||
|
|
|
|||
Loading…
Reference in a new issue