mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
feat(data): migrate PR #3724
This commit is contained in:
parent
d957a2c56f
commit
faad21d4c5
3 changed files with 87929 additions and 0 deletions
87878
services/Directory/FilterLists.Directory.Infrastructure.Migrations/Migrations/20230627195358_3724.Designer.cs
generated
Normal file
87878
services/Directory/FilterLists.Directory.Infrastructure.Migrations/Migrations/20230627195358_3724.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -0,0 +1,38 @@
|
|||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace FilterLists.Directory.Infrastructure.Migrations.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class _3724 : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_list_syntaxes",
|
||||
columns: new[] { "filter_list_id", "syntax_id" },
|
||||
values: new object[] { 2661L, 4L });
|
||||
|
||||
migrationBuilder.InsertData(
|
||||
table: "filter_list_view_urls",
|
||||
columns: new[] { "filter_list_id", "id", "url" },
|
||||
values: new object[] { 2661L, 2940L, "https://raw.githubusercontent.com/Axonym/finnish-annoyances/main/annoyances.txt" });
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_syntaxes",
|
||||
keyColumns: new[] { "filter_list_id", "syntax_id" },
|
||||
keyValues: new object[] { 2661L, 4L });
|
||||
|
||||
migrationBuilder.DeleteData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 2661L, 2940L });
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -44430,6 +44430,11 @@ protected override void BuildModel(ModelBuilder modelBuilder)
|
|||
{
|
||||
FilterListId = 2660L,
|
||||
SyntaxId = 4L
|
||||
},
|
||||
new
|
||||
{
|
||||
FilterListId = 2661L,
|
||||
SyntaxId = 4L
|
||||
});
|
||||
});
|
||||
|
||||
|
|
@ -87633,6 +87638,14 @@ protected override void BuildModel(ModelBuilder modelBuilder)
|
|||
Primariness = (short)0,
|
||||
SegmentNumber = (short)0,
|
||||
Url = "https://raw.githubusercontent.com/L8X/AntiAuthenticationUrlFilter/main/AntiAuthenticationUrlFilter.txt"
|
||||
},
|
||||
new
|
||||
{
|
||||
FilterListId = 2661L,
|
||||
Id = 2940L,
|
||||
Primariness = (short)0,
|
||||
SegmentNumber = (short)0,
|
||||
Url = "https://raw.githubusercontent.com/Axonym/finnish-annoyances/main/annoyances.txt"
|
||||
});
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue