mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
chore: remove all EF Core migrations
This commit is contained in:
parent
8d52d14280
commit
a4f3381ad8
17 changed files with 0 additions and 839325 deletions
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
File diff suppressed because it is too large
Load diff
|
|
@ -1,138 +0,0 @@
|
|||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace FilterLists.Directory.Infrastructure.Migrations.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class FinishPR5113_AddMetaDnsmasqList : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.UpdateData(
|
||||
table: "FilterList",
|
||||
keyColumn: "Id",
|
||||
keyValue: 2731,
|
||||
column: "Description",
|
||||
value: "Blocking of Meta Platforms Domains");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "FilterList",
|
||||
keyColumn: "Id",
|
||||
keyValue: 2732,
|
||||
column: "Description",
|
||||
value: "Blocking of Meta Platforms Domains");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "FilterList",
|
||||
keyColumn: "Id",
|
||||
keyValue: 2733,
|
||||
column: "Description",
|
||||
value: "Blocking of Meta Platforms Domains");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "FilterList",
|
||||
keyColumn: "Id",
|
||||
keyValue: 2734,
|
||||
column: "Description",
|
||||
value: "Blocking of Meta Platforms Domains");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "FilterList",
|
||||
keyColumn: "Id",
|
||||
keyValue: 2735,
|
||||
column: "Description",
|
||||
value: "Blocking of Meta Platforms Domains");
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "FilterList",
|
||||
columns: new[] { "Id", "ChatUrl", "Description", "DonateUrl", "EmailAddress", "ForumUrl", "HomeUrl", "IssuesUrl", "LicenseId", "Name", "OnionUrl", "PolicyUrl", "SubmissionUrl" },
|
||||
values: new object[] { 2827, null, "Blocking of Meta Platforms Domains", null, null, null, "https://github.com/Bundy01/meta-blocklists", "https://github.com/Bundy01/meta-blocklists/issues", 4, "Meta Dnsmasq", null, null, null });
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "FilterListMaintainer",
|
||||
columns: new[] { "FilterListId", "MaintainerId" },
|
||||
values: new object[] { 2827, 198 });
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "FilterListSyntax",
|
||||
columns: new[] { "FilterListId", "SyntaxId" },
|
||||
values: new object[] { 2827, (short)20 });
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "FilterListTag",
|
||||
columns: new[] { "FilterListId", "TagId" },
|
||||
values: new object[] { 2827, 19 });
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "FilterListViewUrl",
|
||||
columns: new[] { "FilterListId", "Id", "Primariness", "Url" },
|
||||
values: new object[] { 2827, 3218, (short)1, "https://raw.githubusercontent.com/Bundy01/meta-blocklists/main/meta-dnsmasq.txt" });
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterListMaintainer",
|
||||
keyColumns: new[] { "FilterListId", "MaintainerId" },
|
||||
keyValues: new object[] { 2827, 198 });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterListSyntax",
|
||||
keyColumns: new[] { "FilterListId", "SyntaxId" },
|
||||
keyValues: new object[] { 2827, (short)20 });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterListTag",
|
||||
keyColumns: new[] { "FilterListId", "TagId" },
|
||||
keyValues: new object[] { 2827, 19 });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterListViewUrl",
|
||||
keyColumns: new[] { "FilterListId", "Id" },
|
||||
keyValues: new object[] { 2827, 3218 });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterList",
|
||||
keyColumn: "Id",
|
||||
keyValue: 2827);
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "FilterList",
|
||||
keyColumn: "Id",
|
||||
keyValue: 2731,
|
||||
column: "Description",
|
||||
value: "Blocking of Meta Plateforms Domains");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "FilterList",
|
||||
keyColumn: "Id",
|
||||
keyValue: 2732,
|
||||
column: "Description",
|
||||
value: "Blocking of Meta Plateforms Domains");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "FilterList",
|
||||
keyColumn: "Id",
|
||||
keyValue: 2733,
|
||||
column: "Description",
|
||||
value: "Blocking of Meta Plateforms Domains");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "FilterList",
|
||||
keyColumn: "Id",
|
||||
keyValue: 2734,
|
||||
column: "Description",
|
||||
value: "Blocking of Meta Plateforms Domains");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "FilterList",
|
||||
keyColumn: "Id",
|
||||
keyValue: 2735,
|
||||
column: "Description",
|
||||
value: "Blocking of Meta Plateforms Domains");
|
||||
}
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,324 +0,0 @@
|
|||
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 AddAdVoidFilterLists : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.InsertData(
|
||||
table: "FilterList",
|
||||
columns: new[] { "Id", "ChatUrl", "Description", "DonateUrl", "EmailAddress", "ForumUrl", "HomeUrl", "IssuesUrl", "LicenseId", "Name", "OnionUrl", "PolicyUrl", "SubmissionUrl" },
|
||||
values: new object[,]
|
||||
{
|
||||
{ 2828, null, "Blocks intrusive ads, trackers, fake downloads, cookie prompts, overlays, push alerts, widgets, and obsolete web clutter.", "https://ko-fi.com/igorskyflyer", "support@igorskyflyer.me", null, "https://github.com/the-advoid/ad-void", "https://github.com/the-advoid/ad-void/issues", 4, "AdVoid.Full", null, null, null },
|
||||
{ 2829, null, "Blocks major ad-servers, trackers, malware, fake download links, cuts-down timer executions.", "https://ko-fi.com/igorskyflyer", "support@igorskyflyer.me", null, "https://github.com/the-advoid/ad-void", "https://github.com/the-advoid/ad-void/issues", 4, "AdVoid.Core", null, null, null },
|
||||
{ 2830, null, "DNS-level blocker for ads, trackers, telemetry, malware, and web nuisances. Lightweight, system-wide protection.", "https://ko-fi.com/igorskyflyer", "support@igorskyflyer.me", null, "https://github.com/the-advoid/ad-void", "https://github.com/the-advoid/ad-void/issues", 4, "AdVoid.DNS", null, null, null },
|
||||
{ 2831, null, "Blocks site annoyances: cookie-consent banners, popups, modals, push notifications, survey, newsletter and subscribe popups, rating dialogs, skips countdowns, etc.", "https://ko-fi.com/igorskyflyer", "support@igorskyflyer.me", null, "https://github.com/the-advoid/ad-void", "https://github.com/the-advoid/ad-void/issues", 4, "AdVoid.Addon.NoAnnoyances", null, null, null },
|
||||
{ 2832, null, "Blocks external features: sharing, Google Chromecast, popup chats, post widgets, like widgets, etc.", "https://ko-fi.com/igorskyflyer", "support@igorskyflyer.me", null, "https://github.com/the-advoid/ad-void", "https://github.com/the-advoid/ad-void/issues", 4, "AdVoid.Addon.NoExternals", null, null, null },
|
||||
{ 2833, null, "Blocks non-essential resources: news widgets, JavaScript and CSS maps, PWA install banners, SWF objects, etc.", "https://ko-fi.com/igorskyflyer", "support@igorskyflyer.me", null, "https://github.com/the-advoid/ad-void", "https://github.com/the-advoid/ad-void/issues", 4, "AdVoid.Addon.NoExtras", null, null, null }
|
||||
});
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "Maintainer",
|
||||
columns: new[] { "Id", "EmailAddress", "Name", "TwitterHandle", "Url" },
|
||||
values: new object[] { 207, "support@igorskyflyer.me", "Igor Dimitrijević (igorskyflyer)", "igorskyflyer", "https://github.com/igorskyflyer" });
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "FilterListLanguage",
|
||||
columns: new[] { "FilterListId", "LanguageId" },
|
||||
values: new object[,]
|
||||
{
|
||||
{ 2828, (short)37 },
|
||||
{ 2829, (short)37 },
|
||||
{ 2830, (short)37 },
|
||||
{ 2831, (short)37 },
|
||||
{ 2832, (short)37 },
|
||||
{ 2833, (short)37 }
|
||||
});
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "FilterListMaintainer",
|
||||
columns: new[] { "FilterListId", "MaintainerId" },
|
||||
values: new object[,]
|
||||
{
|
||||
{ 2828, 207 },
|
||||
{ 2829, 207 },
|
||||
{ 2830, 207 },
|
||||
{ 2831, 207 },
|
||||
{ 2832, 207 },
|
||||
{ 2833, 207 }
|
||||
});
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "FilterListSyntax",
|
||||
columns: new[] { "FilterListId", "SyntaxId" },
|
||||
values: new object[,]
|
||||
{
|
||||
{ 2828, (short)4 },
|
||||
{ 2829, (short)4 },
|
||||
{ 2830, (short)2 },
|
||||
{ 2831, (short)4 },
|
||||
{ 2832, (short)4 },
|
||||
{ 2833, (short)4 }
|
||||
});
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "FilterListTag",
|
||||
columns: new[] { "FilterListId", "TagId" },
|
||||
values: new object[,]
|
||||
{
|
||||
{ 2828, 3 },
|
||||
{ 2829, 2 },
|
||||
{ 2830, 6 },
|
||||
{ 2831, 9 },
|
||||
{ 2832, 4 },
|
||||
{ 2833, 9 }
|
||||
});
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "FilterListViewUrl",
|
||||
columns: new[] { "FilterListId", "Id", "Primariness", "Url" },
|
||||
values: new object[,]
|
||||
{
|
||||
{ 2828, 3219, (short)1, "https://raw.githubusercontent.com/the-advoid/ad-void/main/AdVoid.Full.txt" },
|
||||
{ 2828, 3220, (short)2, "https://cdn.jsdelivr.net/gh/the-advoid/ad-void@main/AdVoid.Full.txt" },
|
||||
{ 2829, 3221, (short)1, "https://raw.githubusercontent.com/the-advoid/ad-void/main/AdVoid.Core.txt" },
|
||||
{ 2829, 3222, (short)2, "https://cdn.jsdelivr.net/gh/the-advoid/ad-void@main/AdVoid.Core.txt" },
|
||||
{ 2830, 3223, (short)1, "https://raw.githubusercontent.com/the-advoid/ad-void/main/AdVoid.DNS.txt" },
|
||||
{ 2830, 3224, (short)2, "https://cdn.jsdelivr.net/gh/the-advoid/ad-void@main/AdVoid.DNS.txt" },
|
||||
{ 2831, 3225, (short)1, "https://raw.githubusercontent.com/the-advoid/ad-void/main/add-ons/AdVoid.Addon.NoAnnoyances.txt" },
|
||||
{ 2831, 3226, (short)2, "https://cdn.jsdelivr.net/gh/the-advoid/ad-void@main/add-ons/AdVoid.Addon.NoAnnoyances.txt" },
|
||||
{ 2832, 3227, (short)1, "https://raw.githubusercontent.com/the-advoid/ad-void/main/add-ons/AdVoid.Addon.NoExternals.txt" },
|
||||
{ 2832, 3228, (short)2, "https://cdn.jsdelivr.net/gh/the-advoid/ad-void@main/add-ons/AdVoid.Addon.NoExternals.txt" },
|
||||
{ 2833, 3229, (short)1, "https://raw.githubusercontent.com/the-advoid/ad-void/main/add-ons/AdVoid.Addon.NoExtras.txt" },
|
||||
{ 2833, 3230, (short)2, "https://cdn.jsdelivr.net/gh/the-advoid/ad-void@main/add-ons/AdVoid.Addon.NoExtras.txt" }
|
||||
});
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterListLanguage",
|
||||
keyColumns: new[] { "FilterListId", "LanguageId" },
|
||||
keyValues: new object[] { 2828, (short)37 });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterListLanguage",
|
||||
keyColumns: new[] { "FilterListId", "LanguageId" },
|
||||
keyValues: new object[] { 2829, (short)37 });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterListLanguage",
|
||||
keyColumns: new[] { "FilterListId", "LanguageId" },
|
||||
keyValues: new object[] { 2830, (short)37 });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterListLanguage",
|
||||
keyColumns: new[] { "FilterListId", "LanguageId" },
|
||||
keyValues: new object[] { 2831, (short)37 });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterListLanguage",
|
||||
keyColumns: new[] { "FilterListId", "LanguageId" },
|
||||
keyValues: new object[] { 2832, (short)37 });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterListLanguage",
|
||||
keyColumns: new[] { "FilterListId", "LanguageId" },
|
||||
keyValues: new object[] { 2833, (short)37 });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterListMaintainer",
|
||||
keyColumns: new[] { "FilterListId", "MaintainerId" },
|
||||
keyValues: new object[] { 2828, 207 });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterListMaintainer",
|
||||
keyColumns: new[] { "FilterListId", "MaintainerId" },
|
||||
keyValues: new object[] { 2829, 207 });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterListMaintainer",
|
||||
keyColumns: new[] { "FilterListId", "MaintainerId" },
|
||||
keyValues: new object[] { 2830, 207 });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterListMaintainer",
|
||||
keyColumns: new[] { "FilterListId", "MaintainerId" },
|
||||
keyValues: new object[] { 2831, 207 });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterListMaintainer",
|
||||
keyColumns: new[] { "FilterListId", "MaintainerId" },
|
||||
keyValues: new object[] { 2832, 207 });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterListMaintainer",
|
||||
keyColumns: new[] { "FilterListId", "MaintainerId" },
|
||||
keyValues: new object[] { 2833, 207 });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterListSyntax",
|
||||
keyColumns: new[] { "FilterListId", "SyntaxId" },
|
||||
keyValues: new object[] { 2828, (short)4 });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterListSyntax",
|
||||
keyColumns: new[] { "FilterListId", "SyntaxId" },
|
||||
keyValues: new object[] { 2829, (short)4 });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterListSyntax",
|
||||
keyColumns: new[] { "FilterListId", "SyntaxId" },
|
||||
keyValues: new object[] { 2830, (short)2 });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterListSyntax",
|
||||
keyColumns: new[] { "FilterListId", "SyntaxId" },
|
||||
keyValues: new object[] { 2831, (short)4 });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterListSyntax",
|
||||
keyColumns: new[] { "FilterListId", "SyntaxId" },
|
||||
keyValues: new object[] { 2832, (short)4 });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterListSyntax",
|
||||
keyColumns: new[] { "FilterListId", "SyntaxId" },
|
||||
keyValues: new object[] { 2833, (short)4 });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterListTag",
|
||||
keyColumns: new[] { "FilterListId", "TagId" },
|
||||
keyValues: new object[] { 2828, 3 });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterListTag",
|
||||
keyColumns: new[] { "FilterListId", "TagId" },
|
||||
keyValues: new object[] { 2829, 2 });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterListTag",
|
||||
keyColumns: new[] { "FilterListId", "TagId" },
|
||||
keyValues: new object[] { 2830, 6 });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterListTag",
|
||||
keyColumns: new[] { "FilterListId", "TagId" },
|
||||
keyValues: new object[] { 2831, 9 });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterListTag",
|
||||
keyColumns: new[] { "FilterListId", "TagId" },
|
||||
keyValues: new object[] { 2832, 4 });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterListTag",
|
||||
keyColumns: new[] { "FilterListId", "TagId" },
|
||||
keyValues: new object[] { 2833, 9 });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterListViewUrl",
|
||||
keyColumns: new[] { "FilterListId", "Id" },
|
||||
keyValues: new object[] { 2828, 3219 });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterListViewUrl",
|
||||
keyColumns: new[] { "FilterListId", "Id" },
|
||||
keyValues: new object[] { 2828, 3220 });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterListViewUrl",
|
||||
keyColumns: new[] { "FilterListId", "Id" },
|
||||
keyValues: new object[] { 2829, 3221 });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterListViewUrl",
|
||||
keyColumns: new[] { "FilterListId", "Id" },
|
||||
keyValues: new object[] { 2829, 3222 });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterListViewUrl",
|
||||
keyColumns: new[] { "FilterListId", "Id" },
|
||||
keyValues: new object[] { 2830, 3223 });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterListViewUrl",
|
||||
keyColumns: new[] { "FilterListId", "Id" },
|
||||
keyValues: new object[] { 2830, 3224 });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterListViewUrl",
|
||||
keyColumns: new[] { "FilterListId", "Id" },
|
||||
keyValues: new object[] { 2831, 3225 });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterListViewUrl",
|
||||
keyColumns: new[] { "FilterListId", "Id" },
|
||||
keyValues: new object[] { 2831, 3226 });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterListViewUrl",
|
||||
keyColumns: new[] { "FilterListId", "Id" },
|
||||
keyValues: new object[] { 2832, 3227 });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterListViewUrl",
|
||||
keyColumns: new[] { "FilterListId", "Id" },
|
||||
keyValues: new object[] { 2832, 3228 });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterListViewUrl",
|
||||
keyColumns: new[] { "FilterListId", "Id" },
|
||||
keyValues: new object[] { 2833, 3229 });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterListViewUrl",
|
||||
keyColumns: new[] { "FilterListId", "Id" },
|
||||
keyValues: new object[] { 2833, 3230 });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterList",
|
||||
keyColumn: "Id",
|
||||
keyValue: 2828);
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterList",
|
||||
keyColumn: "Id",
|
||||
keyValue: 2829);
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterList",
|
||||
keyColumn: "Id",
|
||||
keyValue: 2830);
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterList",
|
||||
keyColumn: "Id",
|
||||
keyValue: 2831);
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterList",
|
||||
keyColumn: "Id",
|
||||
keyValue: 2832);
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterList",
|
||||
keyColumn: "Id",
|
||||
keyValue: 2833);
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "Maintainer",
|
||||
keyColumn: "Id",
|
||||
keyValue: 207);
|
||||
}
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,137 +0,0 @@
|
|||
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 FixAdVoidFilterListsSyntaxAndLanguages : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterListSyntax",
|
||||
keyColumns: new[] { "FilterListId", "SyntaxId" },
|
||||
keyValues: new object[] { 2828, (short)4 });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterListSyntax",
|
||||
keyColumns: new[] { "FilterListId", "SyntaxId" },
|
||||
keyValues: new object[] { 2829, (short)4 });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterListSyntax",
|
||||
keyColumns: new[] { "FilterListId", "SyntaxId" },
|
||||
keyValues: new object[] { 2831, (short)4 });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterListSyntax",
|
||||
keyColumns: new[] { "FilterListId", "SyntaxId" },
|
||||
keyValues: new object[] { 2832, (short)4 });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterListSyntax",
|
||||
keyColumns: new[] { "FilterListId", "SyntaxId" },
|
||||
keyValues: new object[] { 2833, (short)4 });
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "FilterListLanguage",
|
||||
columns: new[] { "FilterListId", "LanguageId" },
|
||||
values: new object[,]
|
||||
{
|
||||
{ 2828, (short)139 },
|
||||
{ 2829, (short)139 },
|
||||
{ 2830, (short)139 },
|
||||
{ 2831, (short)139 },
|
||||
{ 2832, (short)139 },
|
||||
{ 2833, (short)139 }
|
||||
});
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "FilterListSyntax",
|
||||
columns: new[] { "FilterListId", "SyntaxId" },
|
||||
values: new object[,]
|
||||
{
|
||||
{ 2828, (short)3 },
|
||||
{ 2829, (short)3 },
|
||||
{ 2831, (short)3 },
|
||||
{ 2832, (short)3 },
|
||||
{ 2833, (short)3 }
|
||||
});
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterListLanguage",
|
||||
keyColumns: new[] { "FilterListId", "LanguageId" },
|
||||
keyValues: new object[] { 2828, (short)139 });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterListLanguage",
|
||||
keyColumns: new[] { "FilterListId", "LanguageId" },
|
||||
keyValues: new object[] { 2829, (short)139 });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterListLanguage",
|
||||
keyColumns: new[] { "FilterListId", "LanguageId" },
|
||||
keyValues: new object[] { 2830, (short)139 });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterListLanguage",
|
||||
keyColumns: new[] { "FilterListId", "LanguageId" },
|
||||
keyValues: new object[] { 2831, (short)139 });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterListLanguage",
|
||||
keyColumns: new[] { "FilterListId", "LanguageId" },
|
||||
keyValues: new object[] { 2832, (short)139 });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterListLanguage",
|
||||
keyColumns: new[] { "FilterListId", "LanguageId" },
|
||||
keyValues: new object[] { 2833, (short)139 });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterListSyntax",
|
||||
keyColumns: new[] { "FilterListId", "SyntaxId" },
|
||||
keyValues: new object[] { 2828, (short)3 });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterListSyntax",
|
||||
keyColumns: new[] { "FilterListId", "SyntaxId" },
|
||||
keyValues: new object[] { 2829, (short)3 });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterListSyntax",
|
||||
keyColumns: new[] { "FilterListId", "SyntaxId" },
|
||||
keyValues: new object[] { 2831, (short)3 });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterListSyntax",
|
||||
keyColumns: new[] { "FilterListId", "SyntaxId" },
|
||||
keyValues: new object[] { 2832, (short)3 });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterListSyntax",
|
||||
keyColumns: new[] { "FilterListId", "SyntaxId" },
|
||||
keyValues: new object[] { 2833, (short)3 });
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "FilterListSyntax",
|
||||
columns: new[] { "FilterListId", "SyntaxId" },
|
||||
values: new object[,]
|
||||
{
|
||||
{ 2828, (short)4 },
|
||||
{ 2829, (short)4 },
|
||||
{ 2831, (short)4 },
|
||||
{ 2832, (short)4 },
|
||||
{ 2833, (short)4 }
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,89 +0,0 @@
|
|||
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 AddGoogleAIOverviewRemover : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.InsertData(
|
||||
table: "FilterList",
|
||||
columns: new[] { "Id", "ChatUrl", "Description", "DonateUrl", "EmailAddress", "ForumUrl", "HomeUrl", "IssuesUrl", "LicenseId", "Name", "OnionUrl", "PolicyUrl", "SubmissionUrl" },
|
||||
values: new object[] { 2834, null, "Removes Google's AI Overview section and all of its shortcuts from Google Search results.", null, null, null, "https://gist.github.com/thedoggybrad/dc52cbed1683bae916322f4659d8b387", null, 2, "Google AI Overview Remover", null, null, null });
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "Maintainer",
|
||||
columns: new[] { "Id", "EmailAddress", "Name", "TwitterHandle", "Url" },
|
||||
values: new object[] { 208, null, "thedoggybrad", null, "https://github.com/thedoggybrad" });
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "FilterListMaintainer",
|
||||
columns: new[] { "FilterListId", "MaintainerId" },
|
||||
values: new object[] { 2834, 208 });
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "FilterListSyntax",
|
||||
columns: new[] { "FilterListId", "SyntaxId" },
|
||||
values: new object[] { 2834, (short)4 });
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "FilterListTag",
|
||||
columns: new[] { "FilterListId", "TagId" },
|
||||
values: new object[,]
|
||||
{
|
||||
{ 2834, 9 },
|
||||
{ 2834, 35 }
|
||||
});
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "FilterListViewUrl",
|
||||
columns: new[] { "FilterListId", "Id", "Primariness", "SegmentNumber", "Url" },
|
||||
values: new object[] { 2834, 3231, (short)1, (short)1, "https://gist.githubusercontent.com/thedoggybrad/dc52cbed1683bae916322f4659d8b387/raw/51f80466484f31b05fa46dc543569b329855dfb0/nogoogleaioverview.txt" });
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterListMaintainer",
|
||||
keyColumns: new[] { "FilterListId", "MaintainerId" },
|
||||
keyValues: new object[] { 2834, 208 });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterListSyntax",
|
||||
keyColumns: new[] { "FilterListId", "SyntaxId" },
|
||||
keyValues: new object[] { 2834, (short)4 });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterListTag",
|
||||
keyColumns: new[] { "FilterListId", "TagId" },
|
||||
keyValues: new object[] { 2834, 9 });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterListTag",
|
||||
keyColumns: new[] { "FilterListId", "TagId" },
|
||||
keyValues: new object[] { 2834, 35 });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterListViewUrl",
|
||||
keyColumns: new[] { "FilterListId", "Id" },
|
||||
keyValues: new object[] { 2834, 3231 });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterList",
|
||||
keyColumn: "Id",
|
||||
keyValue: 2834);
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "Maintainer",
|
||||
keyColumn: "Id",
|
||||
keyValue: 208);
|
||||
}
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,360 +0,0 @@
|
|||
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 AddPhishDestroyLists : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.InsertData(
|
||||
table: "FilterList",
|
||||
columns: new[] { "Id", "ChatUrl", "Description", "DonateUrl", "EmailAddress", "ForumUrl", "HomeUrl", "IssuesUrl", "LicenseId", "Name", "OnionUrl", "PolicyUrl", "SubmissionUrl" },
|
||||
values: new object[,]
|
||||
{
|
||||
{ 2835, null, "Real-time updated blocklist of cryptocurrency phishing domains, scam sites, wallet drainers, fake exchanges and seed phrase phishing. DNS-verified active threats.", null, "github@phishdestroy.io", null, "https://github.com/phishdestroy/destroylist", "https://github.com/phishdestroy/destroylist/issues", 2, "PhishDestroy - Cryptocurrency Phishing Blocklist (Domains)", null, null, null },
|
||||
{ 2836, null, "Real-time updated blocklist of cryptocurrency phishing domains, scam sites, wallet drainers, fake exchanges and seed phrase phishing. DNS-verified active threats.", null, "github@phishdestroy.io", null, "https://github.com/phishdestroy/destroylist", "https://github.com/phishdestroy/destroylist/issues", 2, "PhishDestroy - Cryptocurrency Phishing Blocklist (AdBlock)", null, null, null },
|
||||
{ 2837, null, "Real-time updated blocklist of cryptocurrency phishing domains, scam sites, wallet drainers, fake exchanges and seed phrase phishing. DNS-verified active threats.", null, "github@phishdestroy.io", null, "https://github.com/phishdestroy/destroylist", "https://github.com/phishdestroy/destroylist/issues", 2, "PhishDestroy - Cryptocurrency Phishing Blocklist (Hosts)", null, null, null },
|
||||
{ 2838, null, "Real-time updated blocklist of cryptocurrency phishing domains, scam sites, wallet drainers, fake exchanges and seed phrase phishing. DNS-verified active threats.", null, "github@phishdestroy.io", null, "https://github.com/phishdestroy/destroylist", "https://github.com/phishdestroy/destroylist/issues", 2, "PhishDestroy - Cryptocurrency Phishing Blocklist (Dnsmasq)", null, null, null },
|
||||
{ 2839, null, "Community-aggregated cryptocurrency phishing blocklist from PhishDestroy containing scam sites, wallet drainers, fake exchanges and seed phrase phishing.", null, "github@phishdestroy.io", null, "https://github.com/phishdestroy/destroylist", "https://github.com/phishdestroy/destroylist/issues", 2, "PhishDestroy - Community Aggregated", null, null, null },
|
||||
{ 2840, null, "DNS-verified active cryptocurrency phishing domains from PhishDestroy including scam sites, wallet drainers, and fake exchanges.", null, "github@phishdestroy.io", null, "https://github.com/phishdestroy/destroylist", "https://github.com/phishdestroy/destroylist/issues", 2, "PhishDestroy - DNS-Verified Active", null, null, null }
|
||||
});
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "Maintainer",
|
||||
columns: new[] { "Id", "EmailAddress", "Name", "TwitterHandle", "Url" },
|
||||
values: new object[] { 209, "github@phishdestroy.io", "PhishDestroy", null, "https://github.com/phishdestroy" });
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "FilterListLanguage",
|
||||
columns: new[] { "FilterListId", "LanguageId" },
|
||||
values: new object[,]
|
||||
{
|
||||
{ 2835, (short)37 },
|
||||
{ 2836, (short)37 },
|
||||
{ 2837, (short)37 },
|
||||
{ 2838, (short)37 },
|
||||
{ 2839, (short)37 },
|
||||
{ 2840, (short)37 }
|
||||
});
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "FilterListMaintainer",
|
||||
columns: new[] { "FilterListId", "MaintainerId" },
|
||||
values: new object[,]
|
||||
{
|
||||
{ 2835, 209 },
|
||||
{ 2836, 209 },
|
||||
{ 2837, 209 },
|
||||
{ 2838, 209 },
|
||||
{ 2839, 209 },
|
||||
{ 2840, 209 }
|
||||
});
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "FilterListSyntax",
|
||||
columns: new[] { "FilterListId", "SyntaxId" },
|
||||
values: new object[,]
|
||||
{
|
||||
{ 2835, (short)2 },
|
||||
{ 2836, (short)3 },
|
||||
{ 2837, (short)1 },
|
||||
{ 2838, (short)20 },
|
||||
{ 2839, (short)2 },
|
||||
{ 2840, (short)2 }
|
||||
});
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "FilterListTag",
|
||||
columns: new[] { "FilterListId", "TagId" },
|
||||
values: new object[,]
|
||||
{
|
||||
{ 2835, 1 },
|
||||
{ 2835, 6 },
|
||||
{ 2835, 7 },
|
||||
{ 2836, 1 },
|
||||
{ 2836, 6 },
|
||||
{ 2836, 7 },
|
||||
{ 2837, 1 },
|
||||
{ 2837, 6 },
|
||||
{ 2837, 7 },
|
||||
{ 2838, 1 },
|
||||
{ 2838, 6 },
|
||||
{ 2838, 7 },
|
||||
{ 2839, 1 },
|
||||
{ 2839, 6 },
|
||||
{ 2839, 7 },
|
||||
{ 2840, 1 },
|
||||
{ 2840, 6 },
|
||||
{ 2840, 7 }
|
||||
});
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "FilterListViewUrl",
|
||||
columns: new[] { "FilterListId", "Id", "Primariness", "Url" },
|
||||
values: new object[,]
|
||||
{
|
||||
{ 2835, 3232, (short)1, "https://raw.githubusercontent.com/phishdestroy/destroylist/main/list.txt" },
|
||||
{ 2836, 3233, (short)1, "https://raw.githubusercontent.com/phishdestroy/destroylist/main/rootlist/formats/primary/adblock.txt" },
|
||||
{ 2837, 3234, (short)1, "https://raw.githubusercontent.com/phishdestroy/destroylist/main/rootlist/formats/primary/hosts.txt" },
|
||||
{ 2838, 3235, (short)1, "https://raw.githubusercontent.com/phishdestroy/destroylist/main/rootlist/formats/primary/dnsmasq.conf" },
|
||||
{ 2839, 3236, (short)1, "https://raw.githubusercontent.com/phishdestroy/destroylist/main/community/blocklist.json" },
|
||||
{ 2840, 3237, (short)1, "https://raw.githubusercontent.com/phishdestroy/destroylist/main/dns/active_domains.json" }
|
||||
});
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterListLanguage",
|
||||
keyColumns: new[] { "FilterListId", "LanguageId" },
|
||||
keyValues: new object[] { 2835, (short)37 });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterListLanguage",
|
||||
keyColumns: new[] { "FilterListId", "LanguageId" },
|
||||
keyValues: new object[] { 2836, (short)37 });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterListLanguage",
|
||||
keyColumns: new[] { "FilterListId", "LanguageId" },
|
||||
keyValues: new object[] { 2837, (short)37 });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterListLanguage",
|
||||
keyColumns: new[] { "FilterListId", "LanguageId" },
|
||||
keyValues: new object[] { 2838, (short)37 });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterListLanguage",
|
||||
keyColumns: new[] { "FilterListId", "LanguageId" },
|
||||
keyValues: new object[] { 2839, (short)37 });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterListLanguage",
|
||||
keyColumns: new[] { "FilterListId", "LanguageId" },
|
||||
keyValues: new object[] { 2840, (short)37 });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterListMaintainer",
|
||||
keyColumns: new[] { "FilterListId", "MaintainerId" },
|
||||
keyValues: new object[] { 2835, 209 });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterListMaintainer",
|
||||
keyColumns: new[] { "FilterListId", "MaintainerId" },
|
||||
keyValues: new object[] { 2836, 209 });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterListMaintainer",
|
||||
keyColumns: new[] { "FilterListId", "MaintainerId" },
|
||||
keyValues: new object[] { 2837, 209 });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterListMaintainer",
|
||||
keyColumns: new[] { "FilterListId", "MaintainerId" },
|
||||
keyValues: new object[] { 2838, 209 });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterListMaintainer",
|
||||
keyColumns: new[] { "FilterListId", "MaintainerId" },
|
||||
keyValues: new object[] { 2839, 209 });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterListMaintainer",
|
||||
keyColumns: new[] { "FilterListId", "MaintainerId" },
|
||||
keyValues: new object[] { 2840, 209 });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterListSyntax",
|
||||
keyColumns: new[] { "FilterListId", "SyntaxId" },
|
||||
keyValues: new object[] { 2835, (short)2 });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterListSyntax",
|
||||
keyColumns: new[] { "FilterListId", "SyntaxId" },
|
||||
keyValues: new object[] { 2836, (short)3 });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterListSyntax",
|
||||
keyColumns: new[] { "FilterListId", "SyntaxId" },
|
||||
keyValues: new object[] { 2837, (short)1 });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterListSyntax",
|
||||
keyColumns: new[] { "FilterListId", "SyntaxId" },
|
||||
keyValues: new object[] { 2838, (short)20 });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterListSyntax",
|
||||
keyColumns: new[] { "FilterListId", "SyntaxId" },
|
||||
keyValues: new object[] { 2839, (short)2 });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterListSyntax",
|
||||
keyColumns: new[] { "FilterListId", "SyntaxId" },
|
||||
keyValues: new object[] { 2840, (short)2 });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterListTag",
|
||||
keyColumns: new[] { "FilterListId", "TagId" },
|
||||
keyValues: new object[] { 2835, 1 });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterListTag",
|
||||
keyColumns: new[] { "FilterListId", "TagId" },
|
||||
keyValues: new object[] { 2835, 6 });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterListTag",
|
||||
keyColumns: new[] { "FilterListId", "TagId" },
|
||||
keyValues: new object[] { 2835, 7 });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterListTag",
|
||||
keyColumns: new[] { "FilterListId", "TagId" },
|
||||
keyValues: new object[] { 2836, 1 });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterListTag",
|
||||
keyColumns: new[] { "FilterListId", "TagId" },
|
||||
keyValues: new object[] { 2836, 6 });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterListTag",
|
||||
keyColumns: new[] { "FilterListId", "TagId" },
|
||||
keyValues: new object[] { 2836, 7 });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterListTag",
|
||||
keyColumns: new[] { "FilterListId", "TagId" },
|
||||
keyValues: new object[] { 2837, 1 });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterListTag",
|
||||
keyColumns: new[] { "FilterListId", "TagId" },
|
||||
keyValues: new object[] { 2837, 6 });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterListTag",
|
||||
keyColumns: new[] { "FilterListId", "TagId" },
|
||||
keyValues: new object[] { 2837, 7 });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterListTag",
|
||||
keyColumns: new[] { "FilterListId", "TagId" },
|
||||
keyValues: new object[] { 2838, 1 });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterListTag",
|
||||
keyColumns: new[] { "FilterListId", "TagId" },
|
||||
keyValues: new object[] { 2838, 6 });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterListTag",
|
||||
keyColumns: new[] { "FilterListId", "TagId" },
|
||||
keyValues: new object[] { 2838, 7 });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterListTag",
|
||||
keyColumns: new[] { "FilterListId", "TagId" },
|
||||
keyValues: new object[] { 2839, 1 });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterListTag",
|
||||
keyColumns: new[] { "FilterListId", "TagId" },
|
||||
keyValues: new object[] { 2839, 6 });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterListTag",
|
||||
keyColumns: new[] { "FilterListId", "TagId" },
|
||||
keyValues: new object[] { 2839, 7 });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterListTag",
|
||||
keyColumns: new[] { "FilterListId", "TagId" },
|
||||
keyValues: new object[] { 2840, 1 });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterListTag",
|
||||
keyColumns: new[] { "FilterListId", "TagId" },
|
||||
keyValues: new object[] { 2840, 6 });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterListTag",
|
||||
keyColumns: new[] { "FilterListId", "TagId" },
|
||||
keyValues: new object[] { 2840, 7 });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterListViewUrl",
|
||||
keyColumns: new[] { "FilterListId", "Id" },
|
||||
keyValues: new object[] { 2835, 3232 });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterListViewUrl",
|
||||
keyColumns: new[] { "FilterListId", "Id" },
|
||||
keyValues: new object[] { 2836, 3233 });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterListViewUrl",
|
||||
keyColumns: new[] { "FilterListId", "Id" },
|
||||
keyValues: new object[] { 2837, 3234 });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterListViewUrl",
|
||||
keyColumns: new[] { "FilterListId", "Id" },
|
||||
keyValues: new object[] { 2838, 3235 });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterListViewUrl",
|
||||
keyColumns: new[] { "FilterListId", "Id" },
|
||||
keyValues: new object[] { 2839, 3236 });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterListViewUrl",
|
||||
keyColumns: new[] { "FilterListId", "Id" },
|
||||
keyValues: new object[] { 2840, 3237 });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterList",
|
||||
keyColumn: "Id",
|
||||
keyValue: 2835);
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterList",
|
||||
keyColumn: "Id",
|
||||
keyValue: 2836);
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterList",
|
||||
keyColumn: "Id",
|
||||
keyValue: 2837);
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterList",
|
||||
keyColumn: "Id",
|
||||
keyValue: 2838);
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterList",
|
||||
keyColumn: "Id",
|
||||
keyValue: 2839);
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterList",
|
||||
keyColumn: "Id",
|
||||
keyValue: 2840);
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "Maintainer",
|
||||
keyColumn: "Id",
|
||||
keyValue: 209);
|
||||
}
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,22 +0,0 @@
|
|||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace FilterLists.Directory.Infrastructure.Migrations.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class AddIDNHomographFaviconSecurityLists : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load diff
|
|
@ -1,264 +0,0 @@
|
|||
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 FixAddIDNHomographFaviconSecurityLists : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.InsertData(
|
||||
table: "FilterList",
|
||||
columns: new[] { "Id", "ChatUrl", "Description", "DonateUrl", "EmailAddress", "ForumUrl", "HomeUrl", "IssuesUrl", "LicenseId", "Name", "OnionUrl", "PolicyUrl", "SubmissionUrl" },
|
||||
values: new object[,]
|
||||
{
|
||||
{ 2841, null, "Security-focused filter list mitigating IDN/Punycode homograph phishing and favicon-based spoofing vectors without breaking site functionality.", "https://github.com/TantalusDrive", null, null, "https://github.com/TantalusDrive/Secfilters", "https://github.com/TantalusDrive/Secfilters/issues", 9, "IDN Homograph & Favicon Security List - AdGuard version (MV2)", null, null, null },
|
||||
{ 2842, null, "Security-focused filter list mitigating IDN/Punycode homograph phishing and favicon-based spoofing vectors without breaking site functionality.", "https://github.com/TantalusDrive", null, null, "https://github.com/TantalusDrive/Secfilters", "https://github.com/TantalusDrive/Secfilters/issues", 9, "IDN Homograph & Favicon Security List - ABP version (MV2)", null, null, null },
|
||||
{ 2843, null, "Security-focused filter list mitigating IDN/Punycode homograph phishing and favicon-based spoofing vectors without breaking site functionality.", "https://github.com/TantalusDrive", null, null, "https://github.com/TantalusDrive/Secfilters", "https://github.com/TantalusDrive/Secfilters/issues", 9, "IDN Homograph & Favicon Security List - Brave version", null, null, null },
|
||||
{ 2844, null, "Security-focused filter list mitigating IDN/Punycode homograph phishing and favicon-based spoofing vectors without breaking site functionality.", "https://github.com/TantalusDrive", null, null, "https://github.com/TantalusDrive/Secfilters", "https://github.com/TantalusDrive/Secfilters/issues", 9, "IDN Homograph & Favicon Security List - uBlock Origin version", null, null, null }
|
||||
});
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "Maintainer",
|
||||
columns: new[] { "Id", "EmailAddress", "Name", "TwitterHandle", "Url" },
|
||||
values: new object[] { 210, "carlolatorre.uw4yf@slmails.com", "TantalusDrive", null, "https://github.com/TantalusDrive" });
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "FilterListLanguage",
|
||||
columns: new[] { "FilterListId", "LanguageId" },
|
||||
values: new object[,]
|
||||
{
|
||||
{ 2841, (short)37 },
|
||||
{ 2842, (short)37 },
|
||||
{ 2843, (short)37 },
|
||||
{ 2844, (short)37 }
|
||||
});
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "FilterListMaintainer",
|
||||
columns: new[] { "FilterListId", "MaintainerId" },
|
||||
values: new object[,]
|
||||
{
|
||||
{ 2841, 210 },
|
||||
{ 2842, 210 },
|
||||
{ 2843, 210 },
|
||||
{ 2844, 210 }
|
||||
});
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "FilterListSyntax",
|
||||
columns: new[] { "FilterListId", "SyntaxId" },
|
||||
values: new object[,]
|
||||
{
|
||||
{ 2841, (short)6 },
|
||||
{ 2842, (short)3 },
|
||||
{ 2843, (short)3 },
|
||||
{ 2844, (short)4 }
|
||||
});
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "FilterListTag",
|
||||
columns: new[] { "FilterListId", "TagId" },
|
||||
values: new object[,]
|
||||
{
|
||||
{ 2841, 7 },
|
||||
{ 2841, 10 },
|
||||
{ 2842, 7 },
|
||||
{ 2842, 10 },
|
||||
{ 2843, 7 },
|
||||
{ 2843, 10 },
|
||||
{ 2844, 7 },
|
||||
{ 2844, 10 }
|
||||
});
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "FilterListViewUrl",
|
||||
columns: new[] { "FilterListId", "Id", "Primariness", "Url" },
|
||||
values: new object[,]
|
||||
{
|
||||
{ 2841, 3238, (short)1, "https://tantalusdrive.github.io/Secfilters/Lists/AdGuard/IDNHomographFavicon.txt" },
|
||||
{ 2841, 3239, (short)2, "https://raw.githubusercontent.com/TantalusDrive/Secfilters/refs/heads/main/Lists/AdGuard/IDNHomographFavicon.txt" },
|
||||
{ 2842, 3240, (short)1, "https://tantalusdrive.github.io/Secfilters/Lists/ABP/IDNHomographFavicon.txt" },
|
||||
{ 2842, 3241, (short)2, "https://raw.githubusercontent.com/TantalusDrive/Secfilters/refs/heads/main/Lists/ABP/IDNHomographFavicon.txt" },
|
||||
{ 2843, 3242, (short)1, "https://tantalusdrive.github.io/Secfilters/Lists/Brave/IDNHomographFavicon.txt" },
|
||||
{ 2843, 3243, (short)2, "https://raw.githubusercontent.com/TantalusDrive/Secfilters/refs/heads/main/Lists/Brave/IDNHomographFavicon.txt" },
|
||||
{ 2844, 3244, (short)1, "https://tantalusdrive.github.io/Secfilters/Lists/uBlock/IDNHomographFavicon.txt" },
|
||||
{ 2844, 3245, (short)2, "https://raw.githubusercontent.com/TantalusDrive/Secfilters/refs/heads/main/Lists/uBlock/IDNHomographFavicon.txt" }
|
||||
});
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterListLanguage",
|
||||
keyColumns: new[] { "FilterListId", "LanguageId" },
|
||||
keyValues: new object[] { 2841, (short)37 });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterListLanguage",
|
||||
keyColumns: new[] { "FilterListId", "LanguageId" },
|
||||
keyValues: new object[] { 2842, (short)37 });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterListLanguage",
|
||||
keyColumns: new[] { "FilterListId", "LanguageId" },
|
||||
keyValues: new object[] { 2843, (short)37 });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterListLanguage",
|
||||
keyColumns: new[] { "FilterListId", "LanguageId" },
|
||||
keyValues: new object[] { 2844, (short)37 });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterListMaintainer",
|
||||
keyColumns: new[] { "FilterListId", "MaintainerId" },
|
||||
keyValues: new object[] { 2841, 210 });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterListMaintainer",
|
||||
keyColumns: new[] { "FilterListId", "MaintainerId" },
|
||||
keyValues: new object[] { 2842, 210 });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterListMaintainer",
|
||||
keyColumns: new[] { "FilterListId", "MaintainerId" },
|
||||
keyValues: new object[] { 2843, 210 });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterListMaintainer",
|
||||
keyColumns: new[] { "FilterListId", "MaintainerId" },
|
||||
keyValues: new object[] { 2844, 210 });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterListSyntax",
|
||||
keyColumns: new[] { "FilterListId", "SyntaxId" },
|
||||
keyValues: new object[] { 2841, (short)6 });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterListSyntax",
|
||||
keyColumns: new[] { "FilterListId", "SyntaxId" },
|
||||
keyValues: new object[] { 2842, (short)3 });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterListSyntax",
|
||||
keyColumns: new[] { "FilterListId", "SyntaxId" },
|
||||
keyValues: new object[] { 2843, (short)3 });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterListSyntax",
|
||||
keyColumns: new[] { "FilterListId", "SyntaxId" },
|
||||
keyValues: new object[] { 2844, (short)4 });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterListTag",
|
||||
keyColumns: new[] { "FilterListId", "TagId" },
|
||||
keyValues: new object[] { 2841, 7 });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterListTag",
|
||||
keyColumns: new[] { "FilterListId", "TagId" },
|
||||
keyValues: new object[] { 2841, 10 });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterListTag",
|
||||
keyColumns: new[] { "FilterListId", "TagId" },
|
||||
keyValues: new object[] { 2842, 7 });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterListTag",
|
||||
keyColumns: new[] { "FilterListId", "TagId" },
|
||||
keyValues: new object[] { 2842, 10 });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterListTag",
|
||||
keyColumns: new[] { "FilterListId", "TagId" },
|
||||
keyValues: new object[] { 2843, 7 });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterListTag",
|
||||
keyColumns: new[] { "FilterListId", "TagId" },
|
||||
keyValues: new object[] { 2843, 10 });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterListTag",
|
||||
keyColumns: new[] { "FilterListId", "TagId" },
|
||||
keyValues: new object[] { 2844, 7 });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterListTag",
|
||||
keyColumns: new[] { "FilterListId", "TagId" },
|
||||
keyValues: new object[] { 2844, 10 });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterListViewUrl",
|
||||
keyColumns: new[] { "FilterListId", "Id" },
|
||||
keyValues: new object[] { 2841, 3238 });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterListViewUrl",
|
||||
keyColumns: new[] { "FilterListId", "Id" },
|
||||
keyValues: new object[] { 2841, 3239 });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterListViewUrl",
|
||||
keyColumns: new[] { "FilterListId", "Id" },
|
||||
keyValues: new object[] { 2842, 3240 });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterListViewUrl",
|
||||
keyColumns: new[] { "FilterListId", "Id" },
|
||||
keyValues: new object[] { 2842, 3241 });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterListViewUrl",
|
||||
keyColumns: new[] { "FilterListId", "Id" },
|
||||
keyValues: new object[] { 2843, 3242 });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterListViewUrl",
|
||||
keyColumns: new[] { "FilterListId", "Id" },
|
||||
keyValues: new object[] { 2843, 3243 });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterListViewUrl",
|
||||
keyColumns: new[] { "FilterListId", "Id" },
|
||||
keyValues: new object[] { 2844, 3244 });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterListViewUrl",
|
||||
keyColumns: new[] { "FilterListId", "Id" },
|
||||
keyValues: new object[] { 2844, 3245 });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterList",
|
||||
keyColumn: "Id",
|
||||
keyValue: 2841);
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterList",
|
||||
keyColumn: "Id",
|
||||
keyValue: 2842);
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterList",
|
||||
keyColumn: "Id",
|
||||
keyValue: 2843);
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterList",
|
||||
keyColumn: "Id",
|
||||
keyValue: 2844);
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "Maintainer",
|
||||
keyColumn: "Id",
|
||||
keyValue: 210);
|
||||
}
|
||||
}
|
||||
}
|
||||
File diff suppressed because it is too large
Load diff
Loading…
Reference in a new issue