mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
feat(data): migrate PR #2604
This commit is contained in:
parent
0f66519e1d
commit
d6df8f836f
3 changed files with 84363 additions and 0 deletions
84332
services/Directory/FilterLists.Directory.Infrastructure.Migrations/Migrations/20211021214922_2604.Designer.cs
generated
Normal file
84332
services/Directory/FilterLists.Directory.Infrastructure.Migrations/Migrations/20211021214922_2604.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -0,0 +1,23 @@
|
|||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
namespace FilterLists.Directory.Infrastructure.Migrations.Migrations
|
||||
{
|
||||
public partial class _2604 : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.InsertData(
|
||||
table: "FilterListViewUrls",
|
||||
columns: new[] { "Id", "FilterListId", "Url" },
|
||||
values: new object[] { 2754, 2536, "https://raw.githubusercontent.com/Arctic-Circle-System/Sketchy-Extension-and-Search-List/main/list.txt" });
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterListViewUrls",
|
||||
keyColumn: "Id",
|
||||
keyValue: 2754);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -79299,6 +79299,14 @@ protected override void BuildModel(ModelBuilder modelBuilder)
|
|||
Primariness = (short)0,
|
||||
SegmentNumber = (short)0,
|
||||
Url = "https://raw.githubusercontent.com/iam-py-test/my_filters_001/main/Alternative list formats/antimalware_hosts.txt"
|
||||
},
|
||||
new
|
||||
{
|
||||
Id = 2754,
|
||||
FilterListId = 2536,
|
||||
Primariness = (short)0,
|
||||
SegmentNumber = (short)0,
|
||||
Url = "https://raw.githubusercontent.com/Arctic-Circle-System/Sketchy-Extension-and-Search-List/main/list.txt"
|
||||
});
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue