feat(data): migrate PR #3452

This commit is contained in:
Azure Pipelines EF Migration Bot 2023-03-07 01:23:34 +00:00 committed by Collin Barrett
parent afca9e53a6
commit a18656b8c9
3 changed files with 90222 additions and 13 deletions

View file

@ -0,0 +1,130 @@
using Microsoft.EntityFrameworkCore.Migrations;
#nullable disable
namespace FilterLists.Directory.Infrastructure.Migrations.Migrations
{
/// <inheritdoc />
public partial class _3452 : Migration
{
/// <inheritdoc />
protected override void Up(MigrationBuilder migrationBuilder)
{
migrationBuilder.UpdateData(
table: "filter_lists",
keyColumn: "id",
keyValue: 1523L,
columns: new[] { "description", "name" },
values: new object[] { "This is a comprehensive hosts file (IPv4) which blocks known ad, exploit, malware, and tracking servers. It is pulled from MVPS, PGL Yoyo, an updated fork of Malware Domain List, URL Haus and EasyList, along with a variety of supplementary sources for increased protection against telemetry, additions for mobile platforms, and emerging threat prevention. It is then merged, sorted and deduped. A notably enhanced experience with the world wide web awaits you.", "CPBL Hosts (IPv4)" });
migrationBuilder.UpdateData(
table: "filter_lists",
keyColumn: "id",
keyValue: 1524L,
column: "name",
value: "CPBL IP Filter (DAT-format, IPv4)");
migrationBuilder.UpdateData(
table: "filter_lists",
keyColumn: "id",
keyValue: 1525L,
column: "name",
value: "CPBL IP Filter (P2P-format, IPv4)");
migrationBuilder.UpdateData(
table: "filter_lists",
keyColumn: "id",
keyValue: 2151L,
columns: new[] { "description", "name" },
values: new object[] { "This is a comprehensive hosts file (IPv6) which blocks known ad, exploit, malware, and tracking servers. It is pulled from MVPS, PGL Yoyo, an updated fork of Malware Domain List, URL Haus and EasyList, along with a variety of supplementary sources for increased protection against telemetry, additions for mobile platforms, and emerging threat prevention. It is then merged, sorted and deduped. A notably enhanced experience with the world wide web awaits you.", "CPBL Hosts (IPv6)" });
migrationBuilder.UpdateData(
table: "filter_lists",
keyColumn: "id",
keyValue: 2152L,
columns: new[] { "description", "name" },
values: new object[] { "This is a comprehensive hosts file (IPv4 + IPv6) which blocks known ad, exploit, malware, and tracking servers. It is pulled from MVPS, PGL Yoyo, an updated fork of Malware Domain List, URL Haus and EasyList, along with a variety of supplementary sources for increased protection against telemetry, additions for mobile platforms, and emerging threat prevention. It is then merged, sorted and deduped. A notably enhanced experience with the world wide web awaits you.", "CPBL Hosts (IPv4 + IPv6)" });
migrationBuilder.UpdateData(
table: "filter_lists",
keyColumn: "id",
keyValue: 2315L,
columns: new[] { "description", "name" },
values: new object[] { "This is a comprehensive hosts file (IPv4, optimized for Windows users) which blocks known ad, exploit, malware, and tracking servers. It is pulled from MVPS, PGL Yoyo, an updated fork of Malware Domain List, URL Haus and EasyList, along with a variety of supplementary sources for increased protection against telemetry, additions for mobile platforms, and emerging threat prevention. It is then merged, sorted and deduped. A notably enhanced experience with the world wide web awaits you.", "CPBL Optimized Windows Hosts (IPv4)" });
migrationBuilder.UpdateData(
table: "filter_lists",
keyColumn: "id",
keyValue: 2316L,
columns: new[] { "description", "name" },
values: new object[] { "This is a comprehensive hosts file (IPv4 + IPv6, optimized for Windows users) which blocks known ad, exploit, malware, and tracking servers. It is pulled from MVPS, PGL Yoyo, an updated fork of Malware Domain List, URL Haus and EasyList, along with a variety of supplementary sources for increased protection against telemetry, additions for mobile platforms, and emerging threat prevention. It is then merged, sorted and deduped. A notably enhanced experience with the world wide web awaits you.", "CPBL Optimized Windows Hosts (IPv4 + IPv6)" });
migrationBuilder.UpdateData(
table: "filter_lists",
keyColumn: "id",
keyValue: 2317L,
column: "name",
value: "CPBL CIDR (IPv4)");
}
/// <inheritdoc />
protected override void Down(MigrationBuilder migrationBuilder)
{
migrationBuilder.UpdateData(
table: "filter_lists",
keyColumn: "id",
keyValue: 1523L,
columns: new[] { "description", "name" },
values: new object[] { "This is a comprehensive hosts file (IPv4) which blocks known ad, exploit, malware, and tracking servers. It is pulled from MVPS, PGL Yoyo, Malware Domain List, URL Haus and EasyList, along with a variety of supplementary sources for increased protection against telemetry, additions for mobile platforms, and emerging threat prevention. It is then merged, sorted and deduped. A notably enhanced experience with the world wide web awaits you.", "Combined Privacy Block Lists HOSTS (IPv4)" });
migrationBuilder.UpdateData(
table: "filter_lists",
keyColumn: "id",
keyValue: 1524L,
column: "name",
value: "Combined Privacy Block Lists IP Filter (DAT-format, IPv4)");
migrationBuilder.UpdateData(
table: "filter_lists",
keyColumn: "id",
keyValue: 1525L,
column: "name",
value: "Combined Privacy Block Lists IP Filter (P2P-format, IPv4)");
migrationBuilder.UpdateData(
table: "filter_lists",
keyColumn: "id",
keyValue: 2151L,
columns: new[] { "description", "name" },
values: new object[] { "This is a comprehensive hosts file (IPv6) which blocks known ad, exploit, malware, and tracking servers. It is pulled from MVPS, PGL Yoyo, Malware Domain List, URL Haus and EasyList, along with a variety of supplementary sources for increased protection against telemetry, additions for mobile platforms, and emerging threat prevention. It is then merged, sorted and deduped. A notably enhanced experience with the world wide web awaits you.", "Combined Privacy Block Lists HOSTS (IPv6)" });
migrationBuilder.UpdateData(
table: "filter_lists",
keyColumn: "id",
keyValue: 2152L,
columns: new[] { "description", "name" },
values: new object[] { "This is a comprehensive hosts file (IPv4 + IPv6) which blocks known ad, exploit, malware, and tracking servers. It is pulled from MVPS, PGL Yoyo, Malware Domain List, URL Haus and EasyList, along with a variety of supplementary sources for increased protection against telemetry, additions for mobile platforms, and emerging threat prevention. It is then merged, sorted and deduped. A notably enhanced experience with the world wide web awaits you.", "Combined Privacy Block Lists HOSTS (IPv4 + IPv6)" });
migrationBuilder.UpdateData(
table: "filter_lists",
keyColumn: "id",
keyValue: 2315L,
columns: new[] { "description", "name" },
values: new object[] { "This is a comprehensive hosts file (IPv4, optimized for Windows users) which blocks known ad, exploit, malware, and tracking servers. It is pulled from MVPS, PGL Yoyo, Malware Domain List, URL Haus and EasyList, along with a variety of supplementary sources for increased protection against telemetry, additions for mobile platforms, and emerging threat prevention. It is then merged, sorted and deduped. A notably enhanced experience with the world wide web awaits you.", "Combined Privacy Block Lists Optimized Windows HOSTS (IPv4)" });
migrationBuilder.UpdateData(
table: "filter_lists",
keyColumn: "id",
keyValue: 2316L,
columns: new[] { "description", "name" },
values: new object[] { "This is a comprehensive hosts file (IPv4 + IPv6, optimized for Windows users) which blocks known ad, exploit, malware, and tracking servers. It is pulled from MVPS, PGL Yoyo, Malware Domain List, URL Haus and EasyList, along with a variety of supplementary sources for increased protection against telemetry, additions for mobile platforms, and emerging threat prevention. It is then merged, sorted and deduped. A notably enhanced experience with the world wide web awaits you.", "Combined Privacy Block Lists Optimized Windows HOSTS (IPv4 + IPv6)" });
migrationBuilder.UpdateData(
table: "filter_lists",
keyColumn: "id",
keyValue: 2317L,
column: "name",
value: "Combined Privacy Block Lists CIDR (CIDR, IPv4)");
}
}
}

View file

@ -11974,11 +11974,11 @@ protected override void BuildModel(ModelBuilder modelBuilder)
new
{
Id = 1523L,
Description = "This is a comprehensive hosts file (IPv4) which blocks known ad, exploit, malware, and tracking servers. It is pulled from MVPS, PGL Yoyo, Malware Domain List, URL Haus and EasyList, along with a variety of supplementary sources for increased protection against telemetry, additions for mobile platforms, and emerging threat prevention. It is then merged, sorted and deduped. A notably enhanced experience with the world wide web awaits you.",
Description = "This is a comprehensive hosts file (IPv4) which blocks known ad, exploit, malware, and tracking servers. It is pulled from MVPS, PGL Yoyo, an updated fork of Malware Domain List, URL Haus and EasyList, along with a variety of supplementary sources for increased protection against telemetry, additions for mobile platforms, and emerging threat prevention. It is then merged, sorted and deduped. A notably enhanced experience with the world wide web awaits you.",
HomeUrl = "https://github.com/bongochong/CombinedPrivacyBlockLists",
IsApproved = true,
LicenseId = 44L,
Name = "Combined Privacy Block Lists HOSTS (IPv4)"
Name = "CPBL Hosts (IPv4)"
},
new
{
@ -11987,7 +11987,7 @@ protected override void BuildModel(ModelBuilder modelBuilder)
HomeUrl = "https://github.com/bongochong/CombinedPrivacyBlockLists",
IsApproved = true,
LicenseId = 44L,
Name = "Combined Privacy Block Lists IP Filter (DAT-format, IPv4)"
Name = "CPBL IP Filter (DAT-format, IPv4)"
},
new
{
@ -11996,7 +11996,7 @@ protected override void BuildModel(ModelBuilder modelBuilder)
HomeUrl = "https://github.com/bongochong/CombinedPrivacyBlockLists",
IsApproved = true,
LicenseId = 44L,
Name = "Combined Privacy Block Lists IP Filter (P2P-format, IPv4)"
Name = "CPBL IP Filter (P2P-format, IPv4)"
},
new
{
@ -17645,20 +17645,20 @@ protected override void BuildModel(ModelBuilder modelBuilder)
new
{
Id = 2151L,
Description = "This is a comprehensive hosts file (IPv6) which blocks known ad, exploit, malware, and tracking servers. It is pulled from MVPS, PGL Yoyo, Malware Domain List, URL Haus and EasyList, along with a variety of supplementary sources for increased protection against telemetry, additions for mobile platforms, and emerging threat prevention. It is then merged, sorted and deduped. A notably enhanced experience with the world wide web awaits you.",
Description = "This is a comprehensive hosts file (IPv6) which blocks known ad, exploit, malware, and tracking servers. It is pulled from MVPS, PGL Yoyo, an updated fork of Malware Domain List, URL Haus and EasyList, along with a variety of supplementary sources for increased protection against telemetry, additions for mobile platforms, and emerging threat prevention. It is then merged, sorted and deduped. A notably enhanced experience with the world wide web awaits you.",
HomeUrl = "https://github.com/bongochong/CombinedPrivacyBlockLists",
IsApproved = true,
LicenseId = 44L,
Name = "Combined Privacy Block Lists HOSTS (IPv6)"
Name = "CPBL Hosts (IPv6)"
},
new
{
Id = 2152L,
Description = "This is a comprehensive hosts file (IPv4 + IPv6) which blocks known ad, exploit, malware, and tracking servers. It is pulled from MVPS, PGL Yoyo, Malware Domain List, URL Haus and EasyList, along with a variety of supplementary sources for increased protection against telemetry, additions for mobile platforms, and emerging threat prevention. It is then merged, sorted and deduped. A notably enhanced experience with the world wide web awaits you.",
Description = "This is a comprehensive hosts file (IPv4 + IPv6) which blocks known ad, exploit, malware, and tracking servers. It is pulled from MVPS, PGL Yoyo, an updated fork of Malware Domain List, URL Haus and EasyList, along with a variety of supplementary sources for increased protection against telemetry, additions for mobile platforms, and emerging threat prevention. It is then merged, sorted and deduped. A notably enhanced experience with the world wide web awaits you.",
HomeUrl = "https://github.com/bongochong/CombinedPrivacyBlockLists",
IsApproved = true,
LicenseId = 44L,
Name = "Combined Privacy Block Lists HOSTS (IPv4 + IPv6)"
Name = "CPBL Hosts (IPv4 + IPv6)"
},
new
{
@ -19086,20 +19086,20 @@ protected override void BuildModel(ModelBuilder modelBuilder)
new
{
Id = 2315L,
Description = "This is a comprehensive hosts file (IPv4, optimized for Windows users) which blocks known ad, exploit, malware, and tracking servers. It is pulled from MVPS, PGL Yoyo, Malware Domain List, URL Haus and EasyList, along with a variety of supplementary sources for increased protection against telemetry, additions for mobile platforms, and emerging threat prevention. It is then merged, sorted and deduped. A notably enhanced experience with the world wide web awaits you.",
Description = "This is a comprehensive hosts file (IPv4, optimized for Windows users) which blocks known ad, exploit, malware, and tracking servers. It is pulled from MVPS, PGL Yoyo, an updated fork of Malware Domain List, URL Haus and EasyList, along with a variety of supplementary sources for increased protection against telemetry, additions for mobile platforms, and emerging threat prevention. It is then merged, sorted and deduped. A notably enhanced experience with the world wide web awaits you.",
HomeUrl = "https://github.com/bongochong/CombinedPrivacyBlockLists",
IsApproved = true,
LicenseId = 44L,
Name = "Combined Privacy Block Lists Optimized Windows HOSTS (IPv4)"
Name = "CPBL Optimized Windows Hosts (IPv4)"
},
new
{
Id = 2316L,
Description = "This is a comprehensive hosts file (IPv4 + IPv6, optimized for Windows users) which blocks known ad, exploit, malware, and tracking servers. It is pulled from MVPS, PGL Yoyo, Malware Domain List, URL Haus and EasyList, along with a variety of supplementary sources for increased protection against telemetry, additions for mobile platforms, and emerging threat prevention. It is then merged, sorted and deduped. A notably enhanced experience with the world wide web awaits you.",
Description = "This is a comprehensive hosts file (IPv4 + IPv6, optimized for Windows users) which blocks known ad, exploit, malware, and tracking servers. It is pulled from MVPS, PGL Yoyo, an updated fork of Malware Domain List, URL Haus and EasyList, along with a variety of supplementary sources for increased protection against telemetry, additions for mobile platforms, and emerging threat prevention. It is then merged, sorted and deduped. A notably enhanced experience with the world wide web awaits you.",
HomeUrl = "https://github.com/bongochong/CombinedPrivacyBlockLists",
IsApproved = true,
LicenseId = 44L,
Name = "Combined Privacy Block Lists Optimized Windows HOSTS (IPv4 + IPv6)"
Name = "CPBL Optimized Windows Hosts (IPv4 + IPv6)"
},
new
{
@ -19108,7 +19108,7 @@ protected override void BuildModel(ModelBuilder modelBuilder)
HomeUrl = "https://github.com/bongochong/CombinedPrivacyBlockLists",
IsApproved = true,
LicenseId = 44L,
Name = "Combined Privacy Block Lists CIDR (CIDR, IPv4)"
Name = "CPBL CIDR (IPv4)"
},
new
{