mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
feat(data): migrate PR #3811
This commit is contained in:
parent
497528a2a5
commit
b631e6f6a7
3 changed files with 87846 additions and 1 deletions
87813
services/Directory/FilterLists.Directory.Infrastructure.Migrations/Migrations/20230903194212_3811.Designer.cs
generated
Normal file
87813
services/Directory/FilterLists.Directory.Infrastructure.Migrations/Migrations/20230903194212_3811.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -0,0 +1,32 @@
|
|||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace FilterLists.Directory.Infrastructure.Migrations.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class _3811 : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 250L, 378L },
|
||||
column: "url",
|
||||
value: "https://secure.fanboy.co.nz/fanboy-cookiemonster.txt");
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_list_view_urls",
|
||||
keyColumns: new[] { "filter_list_id", "id" },
|
||||
keyValues: new object[] { 250L, 378L },
|
||||
column: "url",
|
||||
value: "https://easylist-downloads.adblockplus.org/easylist-cookie.txt");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -69108,7 +69108,7 @@ protected override void BuildModel(ModelBuilder modelBuilder)
|
|||
Id = 378L,
|
||||
Primariness = (short)1,
|
||||
SegmentNumber = (short)0,
|
||||
Url = "https://easylist-downloads.adblockplus.org/easylist-cookie.txt"
|
||||
Url = "https://secure.fanboy.co.nz/fanboy-cookiemonster.txt"
|
||||
},
|
||||
new
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue