mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
feat(data): migrate PR #4294
This commit is contained in:
parent
f4393a157e
commit
92d3025d16
3 changed files with 88426 additions and 5 deletions
88347
services/Directory/FilterLists.Directory.Infrastructure.Migrations/Migrations/20240524173314_4294.Designer.cs
generated
Normal file
88347
services/Directory/FilterLists.Directory.Infrastructure.Migrations/Migrations/20240524173314_4294.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -0,0 +1,74 @@
|
|||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace FilterLists.Directory.Infrastructure.Migrations.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class _4294 : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2669L,
|
||||
column: "donate_url",
|
||||
value: "https://github.com/serhiyguryev/ukrainian-filters?tab=readme-ov-file#підтримати-проект");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2670L,
|
||||
column: "donate_url",
|
||||
value: "https://github.com/serhiyguryev/ukrainian-filters?tab=readme-ov-file#підтримати-проект");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2671L,
|
||||
column: "donate_url",
|
||||
value: "https://github.com/serhiyguryev/ukrainian-filters?tab=readme-ov-file#підтримати-проект");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2672L,
|
||||
column: "donate_url",
|
||||
value: "https://github.com/serhiyguryev/ukrainian-filters?tab=readme-ov-file#підтримати-проект");
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2669L,
|
||||
column: "donate_url",
|
||||
value: "https://donatello.to/serhiyguryev");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2670L,
|
||||
column: "donate_url",
|
||||
value: "https://donatello.to/serhiyguryev");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2671L,
|
||||
column: "donate_url",
|
||||
value: "https://donatello.to/serhiyguryev");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "filter_lists",
|
||||
keyColumn: "id",
|
||||
keyValue: 2672L,
|
||||
column: "donate_url",
|
||||
value: "https://donatello.to/serhiyguryev");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -19,7 +19,7 @@ protected override void BuildModel(ModelBuilder modelBuilder)
|
|||
{
|
||||
#pragma warning disable 612, 618
|
||||
modelBuilder
|
||||
.HasAnnotation("ProductVersion", "7.0.18")
|
||||
.HasAnnotation("ProductVersion", "7.0.19")
|
||||
.HasAnnotation("Relational:MaxIdentifierLength", 63);
|
||||
|
||||
NpgsqlModelBuilderExtensions.HasPostgresEnum(modelBuilder, "aggregate_type", new[] { "filter_list", "language", "license", "maintainer", "software", "syntax", "tag" });
|
||||
|
|
@ -21938,7 +21938,7 @@ protected override void BuildModel(ModelBuilder modelBuilder)
|
|||
{
|
||||
Id = 2669L,
|
||||
Description = "Filter of malicious web resources (phishing, online fraud, malware, etc.) targeting Ukrainian citizens",
|
||||
DonateUrl = "https://donatello.to/serhiyguryev",
|
||||
DonateUrl = "https://github.com/serhiyguryev/ukrainian-filters?tab=readme-ov-file#підтримати-проект",
|
||||
HomeUrl = "https://github.com/braveinnovators/ukrainian-security-filter",
|
||||
IsApproved = true,
|
||||
IssuesUrl = "https://github.com/braveinnovators/ukrainian-security-filter/issues",
|
||||
|
|
@ -21949,7 +21949,7 @@ protected override void BuildModel(ModelBuilder modelBuilder)
|
|||
{
|
||||
Id = 2670L,
|
||||
Description = "Removes ads from Ukrainian websites",
|
||||
DonateUrl = "https://donatello.to/serhiyguryev",
|
||||
DonateUrl = "https://github.com/serhiyguryev/ukrainian-filters?tab=readme-ov-file#підтримати-проект",
|
||||
HomeUrl = "https://github.com/serhiyguryev/ukrainian-filters",
|
||||
IsApproved = true,
|
||||
IssuesUrl = "https://github.com/serhiyguryev/ukrainian-filters/issues",
|
||||
|
|
@ -21960,7 +21960,7 @@ protected override void BuildModel(ModelBuilder modelBuilder)
|
|||
{
|
||||
Id = 2671L,
|
||||
Description = "Blocks irritating elements on Ukrainian and some popular foreign websites (cookie notices, pop-ups, banners etc.)",
|
||||
DonateUrl = "https://donatello.to/serhiyguryev",
|
||||
DonateUrl = "https://github.com/serhiyguryev/ukrainian-filters?tab=readme-ov-file#підтримати-проект",
|
||||
HomeUrl = "https://github.com/serhiyguryev/ukrainian-filters",
|
||||
IsApproved = true,
|
||||
IssuesUrl = "https://github.com/serhiyguryev/ukrainian-filters/issues",
|
||||
|
|
@ -21971,7 +21971,7 @@ protected override void BuildModel(ModelBuilder modelBuilder)
|
|||
{
|
||||
Id = 2672L,
|
||||
Description = "Blocks trackers and harmful scripts, reduces the ability of third parties to collect data about your browsing behavior",
|
||||
DonateUrl = "https://donatello.to/serhiyguryev",
|
||||
DonateUrl = "https://github.com/serhiyguryev/ukrainian-filters?tab=readme-ov-file#підтримати-проект",
|
||||
HomeUrl = "https://github.com/serhiyguryev/ukrainian-filters",
|
||||
IsApproved = true,
|
||||
IssuesUrl = "https://github.com/serhiyguryev/ukrainian-filters/issues",
|
||||
|
|
|
|||
Loading…
Reference in a new issue