mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
chore(dir-data): migrate #4458
This commit is contained in:
parent
63324620a4
commit
5de5724cf5
3 changed files with 87683 additions and 3 deletions
87634
services/Directory/FilterLists.Directory.Infrastructure.Migrations/Migrations/20240811163339_4458.Designer.cs
generated
Normal file
87634
services/Directory/FilterLists.Directory.Infrastructure.Migrations/Migrations/20240811163339_4458.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -0,0 +1,46 @@
|
|||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace FilterLists.Directory.Infrastructure.Migrations.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class _4458 : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.UpdateData(
|
||||
table: "FilterList",
|
||||
keyColumn: "Id",
|
||||
keyValue: 2603,
|
||||
columns: new[] { "Description", "HomeUrl" },
|
||||
values: new object[] { "Filters to bypass paywalls for news sites (supports less sites than the extension/add-on)", "https://gitflic.ru/project/magnolia1234/bypass-paywalls-clean-filters" });
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "FilterListViewUrl",
|
||||
keyColumns: new[] { "FilterListId", "Id" },
|
||||
keyValues: new object[] { 2603, 2867 },
|
||||
column: "Url",
|
||||
value: "https://gitflic.ru/project/magnolia1234/bypass-paywalls-clean-filters/blob/raw?file=bpc-paywall-filter.txt");
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.UpdateData(
|
||||
table: "FilterList",
|
||||
keyColumn: "Id",
|
||||
keyValue: 2603,
|
||||
columns: new[] { "Description", "HomeUrl" },
|
||||
values: new object[] { "Filters for news sites (supports less sites than the extension/add-on)", "https://github.com/bpc-clone/bypass-paywalls-clean-filters" });
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "FilterListViewUrl",
|
||||
keyColumns: new[] { "FilterListId", "Id" },
|
||||
keyValues: new object[] { 2603, 2867 },
|
||||
column: "Url",
|
||||
value: "https://raw.githubusercontent.com/bpc-clone/bypass-paywalls-clean-filters/main/bpc-paywall-filter.txt");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -19066,8 +19066,8 @@ protected override void BuildModel(ModelBuilder modelBuilder)
|
|||
new
|
||||
{
|
||||
Id = 2603,
|
||||
Description = "Filters for news sites (supports less sites than the extension/add-on)",
|
||||
HomeUrl = "https://github.com/bpc-clone/bypass-paywalls-clean-filters",
|
||||
Description = "Filters to bypass paywalls for news sites (supports less sites than the extension/add-on)",
|
||||
HomeUrl = "https://gitflic.ru/project/magnolia1234/bypass-paywalls-clean-filters",
|
||||
LicenseId = 0,
|
||||
Name = "Bypass Paywalls Clean filter"
|
||||
},
|
||||
|
|
@ -85893,7 +85893,7 @@ protected override void BuildModel(ModelBuilder modelBuilder)
|
|||
Id = 2867,
|
||||
Primariness = (short)1,
|
||||
SegmentNumber = (short)0,
|
||||
Url = "https://raw.githubusercontent.com/bpc-clone/bypass-paywalls-clean-filters/main/bpc-paywall-filter.txt"
|
||||
Url = "https://gitflic.ru/project/magnolia1234/bypass-paywalls-clean-filters/blob/raw?file=bpc-paywall-filter.txt"
|
||||
},
|
||||
new
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue