mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
feat(data): migrate PR #3668
This commit is contained in:
parent
619d8e558a
commit
0e19ecb890
3 changed files with 90763 additions and 0 deletions
90725
services/Directory/FilterLists.Directory.Infrastructure.Migrations/Migrations/20230530234110_3668.Designer.cs
generated
Normal file
90725
services/Directory/FilterLists.Directory.Infrastructure.Migrations/Migrations/20230530234110_3668.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -0,0 +1,28 @@
|
|||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace FilterLists.Directory.Infrastructure.Migrations.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class _3668 : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_lists",
|
||||
columns: new[] { "id", "chat_url", "description", "donate_url", "email_address", "forum_url", "home_url", "is_approved", "issues_url", "name", "onion_url", "policy_url", "submission_url" },
|
||||
values: new object[] { 2660L, null, "Blocks use of @ (i.e. https://google.com@example.com) before domain names, which is being used to trick people", null, null, null, "https://github.com/L8X/AntiAuthenticationUrlFilter", true, "https://github.com/L8X/AntiAuthenticationUrlFilter/issues", "Anti-Authentication-Url-Filter", null, null, null });
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2660L);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -22533,6 +22533,16 @@ protected override void BuildModel(ModelBuilder modelBuilder)
|
|||
IssuesUrl = "https://github.com/www-k9/hosts/issues",
|
||||
LicenseId = 2L,
|
||||
Name = "WWW-K9"
|
||||
},
|
||||
new
|
||||
{
|
||||
Id = 2660L,
|
||||
Description = "Blocks use of @ (i.e. https://google.com@example.com) before domain names, which is being used to trick people",
|
||||
HomeUrl = "https://github.com/L8X/AntiAuthenticationUrlFilter",
|
||||
IsApproved = true,
|
||||
IssuesUrl = "https://github.com/L8X/AntiAuthenticationUrlFilter/issues",
|
||||
LicenseId = 0L,
|
||||
Name = "Anti-Authentication-Url-Filter"
|
||||
});
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue