mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
feat(data): migrate PR #2363
This commit is contained in:
parent
bc35f3117b
commit
4587055636
3 changed files with 85040 additions and 2 deletions
84997
services/Directory/FilterLists.Directory.Infrastructure.Migrations/Migrations/20210504161622_2363.Designer.cs
generated
Normal file
84997
services/Directory/FilterLists.Directory.Infrastructure.Migrations/Migrations/20210504161622_2363.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -0,0 +1,41 @@
|
|||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
namespace FilterLists.Directory.Infrastructure.Migrations.Migrations
|
||||
{
|
||||
public partial class _2363 : Migration
|
||||
{
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.UpdateData(
|
||||
table: "FilterListViewUrls",
|
||||
keyColumn: "Id",
|
||||
keyValue: 2705,
|
||||
column: "Url",
|
||||
value: "https://raw.githubusercontent.com/Yuki2718/adblock/master/japanese/jp-annoyances-plus.txt");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "FilterLists",
|
||||
keyColumn: "Id",
|
||||
keyValue: 2097,
|
||||
column: "Name",
|
||||
value: "Yuki's uBlock Japanese filters - Annoyances Plus");
|
||||
}
|
||||
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.UpdateData(
|
||||
table: "FilterListViewUrls",
|
||||
keyColumn: "Id",
|
||||
keyValue: 2705,
|
||||
column: "Url",
|
||||
value: "https://raw.githubusercontent.com/Yuki2718/adblock/master/japanese/jp-annoyances+.txt");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "FilterLists",
|
||||
keyColumn: "Id",
|
||||
keyValue: 2097,
|
||||
column: "Name",
|
||||
value: "Yuki's uBlock Japanese filters - Annoyances+");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -16077,7 +16077,7 @@ protected override void BuildModel(ModelBuilder modelBuilder)
|
|||
HomeUrl = "https://github.com/Yuki2718/adblock",
|
||||
IssuesUrl = "https://github.com/Yuki2718/adblock/issues",
|
||||
LicenseId = 8,
|
||||
Name = "Yuki's uBlock Japanese filters - Annoyances+"
|
||||
Name = "Yuki's uBlock Japanese filters - Annoyances Plus"
|
||||
},
|
||||
new
|
||||
{
|
||||
|
|
@ -80003,7 +80003,7 @@ protected override void BuildModel(ModelBuilder modelBuilder)
|
|||
FilterListId = 2097,
|
||||
Primariness = (short)1,
|
||||
SegmentNumber = (short)0,
|
||||
Url = "https://raw.githubusercontent.com/Yuki2718/adblock/master/japanese/jp-annoyances+.txt"
|
||||
Url = "https://raw.githubusercontent.com/Yuki2718/adblock/master/japanese/jp-annoyances-plus.txt"
|
||||
},
|
||||
new
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue