mirror of
https://github.com/collinbarrett/FilterLists.git
synced 2026-03-11 09:04:27 +00:00
chore(dir-data): migrate EF for PR #4451
This commit is contained in:
parent
15579d0ff1
commit
496da39bf0
3 changed files with 87764 additions and 14 deletions
87634
services/Directory/FilterLists.Directory.Infrastructure.Migrations/Migrations/20240803174006_4451.Designer.cs
generated
Normal file
87634
services/Directory/FilterLists.Directory.Infrastructure.Migrations/Migrations/20240803174006_4451.Designer.cs
generated
Normal file
File diff suppressed because it is too large
Load diff
|
|
@ -0,0 +1,116 @@
|
|||
using Microsoft.EntityFrameworkCore.Migrations;
|
||||
|
||||
#nullable disable
|
||||
|
||||
namespace FilterLists.Directory.Infrastructure.Migrations.Migrations
|
||||
{
|
||||
/// <inheritdoc />
|
||||
public partial class _4451 : Migration
|
||||
{
|
||||
/// <inheritdoc />
|
||||
protected override void Up(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.UpdateData(
|
||||
table: "FilterList",
|
||||
keyColumn: "Id",
|
||||
keyValue: 2669,
|
||||
column: "DonateUrl",
|
||||
value: "https://github.com/ukrainianfilters/lists#підтримати-проєкт");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "FilterList",
|
||||
keyColumn: "Id",
|
||||
keyValue: 2670,
|
||||
columns: new[] { "DonateUrl", "HomeUrl", "IssuesUrl" },
|
||||
values: new object[] { "https://github.com/ukrainianfilters/lists#підтримати-проєкт", "https://github.com/ukrainianfilters/lists", "https://github.com/ukrainianfilters/lists/issues" });
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "FilterList",
|
||||
keyColumn: "Id",
|
||||
keyValue: 2671,
|
||||
columns: new[] { "DonateUrl", "HomeUrl", "IssuesUrl" },
|
||||
values: new object[] { "https://github.com/ukrainianfilters/lists#підтримати-проєкт", "https://github.com/ukrainianfilters/lists", "https://github.com/ukrainianfilters/lists/issues" });
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "FilterList",
|
||||
keyColumn: "Id",
|
||||
keyValue: 2672,
|
||||
columns: new[] { "DonateUrl", "HomeUrl", "IssuesUrl" },
|
||||
values: new object[] { "https://github.com/ukrainianfilters/lists#підтримати-проєкт", "https://github.com/ukrainianfilters/lists", "https://github.com/ukrainianfilters/lists/issues" });
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "FilterListViewUrl",
|
||||
keyColumns: new[] { "FilterListId", "Id" },
|
||||
keyValues: new object[] { 2670, 2954 },
|
||||
column: "Url",
|
||||
value: "https://raw.githubusercontent.com/ukrainianfilters/lists/main/ads/ads.txt");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "FilterListViewUrl",
|
||||
keyColumns: new[] { "FilterListId", "Id" },
|
||||
keyValues: new object[] { 2671, 2955 },
|
||||
column: "Url",
|
||||
value: "https://raw.githubusercontent.com/ukrainianfilters/lists/main/annoyances/annoyances.txt");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "FilterListViewUrl",
|
||||
keyColumns: new[] { "FilterListId", "Id" },
|
||||
keyValues: new object[] { 2672, 2956 },
|
||||
column: "Url",
|
||||
value: "https://raw.githubusercontent.com/ukrainianfilters/lists/main/privacy/privacy.txt");
|
||||
}
|
||||
|
||||
/// <inheritdoc />
|
||||
protected override void Down(MigrationBuilder migrationBuilder)
|
||||
{
|
||||
migrationBuilder.UpdateData(
|
||||
table: "FilterList",
|
||||
keyColumn: "Id",
|
||||
keyValue: 2669,
|
||||
column: "DonateUrl",
|
||||
value: "https://github.com/serhiyguryev/ukrainian-filters?tab=readme-ov-file#підтримати-проект");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "FilterList",
|
||||
keyColumn: "Id",
|
||||
keyValue: 2670,
|
||||
columns: new[] { "DonateUrl", "HomeUrl", "IssuesUrl" },
|
||||
values: new object[] { "https://github.com/serhiyguryev/ukrainian-filters?tab=readme-ov-file#підтримати-проект", "https://github.com/serhiyguryev/ukrainian-filters", "https://github.com/serhiyguryev/ukrainian-filters/issues" });
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "FilterList",
|
||||
keyColumn: "Id",
|
||||
keyValue: 2671,
|
||||
columns: new[] { "DonateUrl", "HomeUrl", "IssuesUrl" },
|
||||
values: new object[] { "https://github.com/serhiyguryev/ukrainian-filters?tab=readme-ov-file#підтримати-проект", "https://github.com/serhiyguryev/ukrainian-filters", "https://github.com/serhiyguryev/ukrainian-filters/issues" });
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "FilterList",
|
||||
keyColumn: "Id",
|
||||
keyValue: 2672,
|
||||
columns: new[] { "DonateUrl", "HomeUrl", "IssuesUrl" },
|
||||
values: new object[] { "https://github.com/serhiyguryev/ukrainian-filters?tab=readme-ov-file#підтримати-проект", "https://github.com/serhiyguryev/ukrainian-filters", "https://github.com/serhiyguryev/ukrainian-filters/issues" });
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "FilterListViewUrl",
|
||||
keyColumns: new[] { "FilterListId", "Id" },
|
||||
keyValues: new object[] { 2670, 2954 },
|
||||
column: "Url",
|
||||
value: "https://raw.githubusercontent.com/serhiyguryev/ukrainian-filters/main/filters/ads.txt");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "FilterListViewUrl",
|
||||
keyColumns: new[] { "FilterListId", "Id" },
|
||||
keyValues: new object[] { 2671, 2955 },
|
||||
column: "Url",
|
||||
value: "https://raw.githubusercontent.com/serhiyguryev/ukrainian-filters/main/filters/annoyances.txt");
|
||||
|
||||
migrationBuilder.UpdateData(
|
||||
table: "FilterListViewUrl",
|
||||
keyColumns: new[] { "FilterListId", "Id" },
|
||||
keyValues: new object[] { 2672, 2956 },
|
||||
column: "Url",
|
||||
value: "https://raw.githubusercontent.com/serhiyguryev/ukrainian-filters/main/filters/privacy.txt");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
@ -17,7 +17,7 @@ protected override void BuildModel(ModelBuilder modelBuilder)
|
|||
#pragma warning disable 612, 618
|
||||
modelBuilder
|
||||
.UseCollation("Latin1_General_100_CI_AS_SC")
|
||||
.HasAnnotation("ProductVersion", "8.0.6")
|
||||
.HasAnnotation("ProductVersion", "8.0.7")
|
||||
.HasAnnotation("Relational:MaxIdentifierLength", 128);
|
||||
|
||||
SqlServerModelBuilderExtensions.UseIdentityColumns(modelBuilder);
|
||||
|
|
@ -19671,7 +19671,7 @@ protected override void BuildModel(ModelBuilder modelBuilder)
|
|||
{
|
||||
Id = 2669,
|
||||
Description = "Filter of malicious web resources (phishing, online fraud, malware, etc.) targeting Ukrainian citizens",
|
||||
DonateUrl = "https://github.com/serhiyguryev/ukrainian-filters?tab=readme-ov-file#підтримати-проект",
|
||||
DonateUrl = "https://github.com/ukrainianfilters/lists#підтримати-проєкт",
|
||||
HomeUrl = "https://github.com/braveinnovators/ukrainian-security-filter",
|
||||
IssuesUrl = "https://github.com/braveinnovators/ukrainian-security-filter/issues",
|
||||
LicenseId = 4,
|
||||
|
|
@ -19681,9 +19681,9 @@ protected override void BuildModel(ModelBuilder modelBuilder)
|
|||
{
|
||||
Id = 2670,
|
||||
Description = "Removes ads from Ukrainian websites",
|
||||
DonateUrl = "https://github.com/serhiyguryev/ukrainian-filters?tab=readme-ov-file#підтримати-проект",
|
||||
HomeUrl = "https://github.com/serhiyguryev/ukrainian-filters",
|
||||
IssuesUrl = "https://github.com/serhiyguryev/ukrainian-filters/issues",
|
||||
DonateUrl = "https://github.com/ukrainianfilters/lists#підтримати-проєкт",
|
||||
HomeUrl = "https://github.com/ukrainianfilters/lists",
|
||||
IssuesUrl = "https://github.com/ukrainianfilters/lists/issues",
|
||||
LicenseId = 4,
|
||||
Name = "Ukrainian Ad Filter"
|
||||
},
|
||||
|
|
@ -19691,9 +19691,9 @@ protected override void BuildModel(ModelBuilder modelBuilder)
|
|||
{
|
||||
Id = 2671,
|
||||
Description = "Blocks irritating elements on Ukrainian and some popular foreign websites (cookie notices, pop-ups, banners etc.)",
|
||||
DonateUrl = "https://github.com/serhiyguryev/ukrainian-filters?tab=readme-ov-file#підтримати-проект",
|
||||
HomeUrl = "https://github.com/serhiyguryev/ukrainian-filters",
|
||||
IssuesUrl = "https://github.com/serhiyguryev/ukrainian-filters/issues",
|
||||
DonateUrl = "https://github.com/ukrainianfilters/lists#підтримати-проєкт",
|
||||
HomeUrl = "https://github.com/ukrainianfilters/lists",
|
||||
IssuesUrl = "https://github.com/ukrainianfilters/lists/issues",
|
||||
LicenseId = 4,
|
||||
Name = "Ukrainian Annoyance Filter"
|
||||
},
|
||||
|
|
@ -19701,9 +19701,9 @@ protected override void BuildModel(ModelBuilder modelBuilder)
|
|||
{
|
||||
Id = 2672,
|
||||
Description = "Blocks trackers and harmful scripts, reduces the ability of third parties to collect data about your browsing behavior",
|
||||
DonateUrl = "https://github.com/serhiyguryev/ukrainian-filters?tab=readme-ov-file#підтримати-проект",
|
||||
HomeUrl = "https://github.com/serhiyguryev/ukrainian-filters",
|
||||
IssuesUrl = "https://github.com/serhiyguryev/ukrainian-filters/issues",
|
||||
DonateUrl = "https://github.com/ukrainianfilters/lists#підтримати-проєкт",
|
||||
HomeUrl = "https://github.com/ukrainianfilters/lists",
|
||||
IssuesUrl = "https://github.com/ukrainianfilters/lists/issues",
|
||||
LicenseId = 4,
|
||||
Name = "Ukrainian Privacy Filter"
|
||||
},
|
||||
|
|
@ -86581,7 +86581,7 @@ protected override void BuildModel(ModelBuilder modelBuilder)
|
|||
Id = 2954,
|
||||
Primariness = (short)1,
|
||||
SegmentNumber = (short)0,
|
||||
Url = "https://raw.githubusercontent.com/serhiyguryev/ukrainian-filters/main/filters/ads.txt"
|
||||
Url = "https://raw.githubusercontent.com/ukrainianfilters/lists/main/ads/ads.txt"
|
||||
},
|
||||
new
|
||||
{
|
||||
|
|
@ -86589,7 +86589,7 @@ protected override void BuildModel(ModelBuilder modelBuilder)
|
|||
Id = 2955,
|
||||
Primariness = (short)1,
|
||||
SegmentNumber = (short)0,
|
||||
Url = "https://raw.githubusercontent.com/serhiyguryev/ukrainian-filters/main/filters/annoyances.txt"
|
||||
Url = "https://raw.githubusercontent.com/ukrainianfilters/lists/main/annoyances/annoyances.txt"
|
||||
},
|
||||
new
|
||||
{
|
||||
|
|
@ -86597,7 +86597,7 @@ protected override void BuildModel(ModelBuilder modelBuilder)
|
|||
Id = 2956,
|
||||
Primariness = (short)1,
|
||||
SegmentNumber = (short)0,
|
||||
Url = "https://raw.githubusercontent.com/serhiyguryev/ukrainian-filters/main/filters/privacy.txt"
|
||||
Url = "https://raw.githubusercontent.com/ukrainianfilters/lists/main/privacy/privacy.txt"
|
||||
},
|
||||
new
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue