mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
feat(data): migrate PR #2525
This commit is contained in:
parent
398051dd11
commit
545ea0baea
3 changed files with 85470 additions and 0 deletions
85439
services/Directory/FilterLists.Directory.Infrastructure.Migrations/Migrations/20210830142316_2525.Designer.cs
generated
Normal file
85439
services/Directory/FilterLists.Directory.Infrastructure.Migrations/Migrations/20210830142316_2525.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 _2525 : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.InsertData(
|
||||
table: "FilterListViewUrls",
|
||||
columns: new[] { "Id", "FilterListId", "Primariness", "Url" },
|
||||
values: new object[] { 2732, 2471, (short)2, "https://gitlab.com/BPower0036/AdBlockFilters/-/raw/main/easydutch.txt" });
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.DeleteData(
|
||||
table: "FilterListViewUrls",
|
||||
keyColumn: "Id",
|
||||
keyValue: 2732);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -80419,6 +80419,14 @@ protected override void BuildModel(ModelBuilder modelBuilder)
|
|||
Primariness = (short)1,
|
||||
SegmentNumber = (short)0,
|
||||
Url = "https://raw.githubusercontent.com/JohnyP36/Personal-List/main/Personal List (uBo).txt"
|
||||
},
|
||||
new
|
||||
{
|
||||
Id = 2732,
|
||||
FilterListId = 2471,
|
||||
Primariness = (short)2,
|
||||
SegmentNumber = (short)0,
|
||||
Url = "https://gitlab.com/BPower0036/AdBlockFilters/-/raw/main/easydutch.txt"
|
||||
});
|
||||
});
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue